I have a google map on a website using Objective HTML's Google Maps for Expression Engine add-on. The map plots all club locations in the area, so shows a number of markers.
Strangely it is showing one club in two different locations, even though only one entry exists in the database.
It seems I'm not the first to experience this (Random Duplicate locations when using Google Maps for EE).
Any ideas how I could go about solving this one would be massively appreciated.
Thanks in advance,
Tom
Code:
{exp:channel:entries
channel="friendship_clubs_data_feed"
dynamic="no"
status="Open|Exclude from search results"
orderby="title"
sort="asc"
}
{exp:gmap:marker
id="map"
address="{club_feed_postcode}"
infobox="true"
zIndex="5"
icon="/assets/images/Map-Marker.png"
clustering="false"
show_one_window="false"
extend_bounds="true"
geocode="true"
clearanceX="10"
clearanceY="20"
offsetX="10"
offsetY="-10"
}
<a href="{url_title_path='clubs/our-clubs/detail/'}"><h5>{title}</h5></a>
<h6 class="centre-location">{club_feed_town}</h6>
{/exp:gmap:marker}
{/exp:channel:entries}
latitude="{latitude}" longitude="{longitude}"
instead ofaddress="{club_feed_postcode}"