This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Display a map with markers that link to other pages. Each marker must | |
// have latitude, longitude and slug properties. There must also be a | |
// a 'url' option which is used to build the links. The following | |
// wildcards are replaced in the url: ID (with the id), SLUG (with the | |
// slug property), PUBLISHED (with /year/month/day taken from published_at), | |
// and START (with /year/month/day taken from start_date). In other words, | |
// you can pass most array-hydrated Doctrine objects, including Apostrophe | |
// blog posts and events, and easily generate links back to them. | |
// The hover text title of the marker is taken from title if present, |