-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Gmarker is an integration of the Google Maps API (v3) for MODX Revolution which lets you easily display maps with markers on your site. It perform geocoding on address information and cache the results.
UPDATE: Unfortunately, as of July 16th, 2018, the Google Maps API lookups on which this extra depends are no longer free! See Google for more info.
See the page dedicated to Getting Started.
For more information on the relevant Google APIs see
If your MODX pages contain location information (i.e. address, city, state, zip), then you can use the Gmaps MODX Extra to lookup the latitude and longitude of that location and store it inside Template Variables (i.e. custom fields) on each page. The Gmaps Extra implements the Google Maps Api (https://developers.google.com/maps/documentation/geocoding/) to geocode address information into latitude/longitude information.
The Gmaps Extra includes the Gmap Snippet, a powerful Snippet that includes many options for displaying exactly the map you want.
The Gmarker Snippet can also be used to drop markers onto your map. This is useful if your site contains many location records (e.g. pages for multiple stores), and you want an easy way to display them all.