Skip to content

Instantly share code, notes, and snippets.

@qbmarketing
Created March 4, 2013 15:43
Show Gist options
  • Save qbmarketing/5083140 to your computer and use it in GitHub Desktop.
Save qbmarketing/5083140 to your computer and use it in GitHub Desktop.
mapping the offices
{exp:gmap:init id="map" scrollwheel="false" center="halifax, ns" style="width:100%; height:500px; margin-bottom: 20px; border: 1px solid #e1e1e1;"}
{exp:channel:entries channel="navigators" limit="50" orderby="navigators_reorder" sort="asc" disable="member_data|pagination|categories|category_fields" dynamic="no"}
{related_entries id="navigators_rda_office"}
{exp:gmap:marker id="map" latitude="{offices_latitude}" longitude="{offices_longitude}" clustering="true"}
{title} / {offices_latitude} / {offices_longitude}
{/exp:gmap:marker}
{/related_entries}
{/exp:channel:entries}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment