<![CDATA[ (widget) Google maps widget - My Forums]]> https://forums.modx.com/thread/?thread=45258 <![CDATA[Re: (widget) Google maps widget]]> https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-488309 https://github.com/Eoler/mmGoogleMap

ManagerManager 0.3.10 or newer...]]>
danilocuculic Jan 24, 2014, 02:01 PM https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-488309
<![CDATA[Re: (widget) Google maps widget]]> https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261327
I see it uses maps api v2, which requires a domain specific key. V3 would ease the setup/launch to production. Not a big deal though. If I can manage to get it to work with v3 I will share.]]>
dorstox Apr 11, 2011, 07:39 PM https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261327
<![CDATA[Re: (widget) Google maps widget]]> https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261326 Look at this: http://modx.com/extras/package/googlemapstv

]]>
oori Mar 14, 2011, 09:04 AM https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261326
<![CDATA[Re: (widget) Google maps widget]]> https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261325
Cheers]]>
ian_m Mar 13, 2011, 03:42 PM https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261325
<![CDATA[Re: (widget) Google maps widget]]> https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261324
this is looking nice, will try it later - thanks for sharing!

j

edit: holy moly, this is awesome! smiley]]>
anonymized-26931 Feb 19, 2011, 12:59 AM https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261324
<![CDATA[Re: (widget) Google maps widget]]> https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261323 Thank you for the contribution and your time. I wish I had the brains huh to use this properly but I’m hoping someone might be able to help.

The end result I’m looking for is to generate a Google Map with Streetview for multiple properties. I have the address stored as a variable and need a way to get the Longitude and Latitude for each address and automatically generate the Google map (without any input from a user).

Would anyone be able to lend a hand and help me get over the hump?

Thanks!]]>
taiyo1578 Aug 26, 2010, 04:51 PM https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261323
<![CDATA[Re: (widget) Google maps widget]]> https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261322 small change - added the forgotten api key setting...
when testing on localhost, it should work without any key (just leave that field empty).
on production server, get one free at: http://code.google.com/apis/maps/signup.html

mm_widget_googlemap($fields, $default=’’,$googleApiKey=’’, $roles=’’, $templates=’’)]]>
oori May 13, 2010, 02:59 PM https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261322
<![CDATA[(widget) Google maps widget]]> https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261321

This widget allows backend editors to set geolocation on a map.
The result tv will contain the Lat+Lng, which can later be used with your favorite map (whether via php backend or client js, there’s a million ready-made solution around)


googlemap v0.11 - Features:
- Based on Google Maps api v2
- Support multiple maps in single document
- Double click to set marker
- Drag and drop support to move markers
- Address search support (with multiple results)




How to:

1. Copy googlemap folder to /assets/plugins/managermanager/widgets
2. Create one or more TVs that will hold the geolocation (with 'Input Type' as 'Text')
3. Add rule to your mm_rules:  mm_widget_googlemap(fields, apiKey, default, roles, templates)
(mandatory) 'fields' is the TV name(s)
(mandatory) 'apiKey' (free) Google Maps API Key (optional when working on localhost dev server)
(optional) 'default' is the default position of the map

Examples:
minimal (note, no api works only on localhost afaik):
mm_widget_googlemap('someTv');

full (2 maps, api key, default location):
mm_widget_googlemap('eventLocation,nearestTrainStation','long-long-api-key','35.1516,126.8665');




Good luck]]>
oori May 03, 2010, 04:02 PM https://forums.modx.com/thread/45258/widget-google-maps-widget#dis-post-261321