jkenters/EventsX — Issue #1: Get lat/long values for location
Author: Mark-H
Created: 2011-12-01 14:05:42+00:00
State: open

I think this could be a major benefit, allowing a user to retrieve the lat/long values from the Google Maps API to use with the event location, and giving them the opportunity to update it later.

I've done that in bdListings, and you can see (/copy - it's all gpl) the code from here: https://github.com/Mark-H/bdListings/blob/master/core/components/bdlistings/model/bdlistings/bdllisting.class.php#L30

In the snippets to list the events a static map placeholder could be set ( https://github.com/Mark-H/bdListings/blob/master/core/components/bdlistings/elements/snippets/bdListings.snippet.php#L116 ) or the user could use it to display a dynamic map. Either way it'd help getting the location clear.