4 Jul 2012 at 19:51 #1 alexx alexx Associate Joined 18 May 2006 Posts 785 Problem with the markers solved - thanks for the offer Dave It was due to a blank line in the xml file of all things! all fixed now thanks Last edited: 5 Jul 2012
Problem with the markers solved - thanks for the offer Dave It was due to a blank line in the xml file of all things! all fixed now thanks
5 Jul 2012 at 00:41 #2 davetherave2 davetherave2 Soldato Joined 27 Mar 2003 Posts 2,710 Checking the console indicates you are adding the maps api multiple times which can cause an issue. This is probably what is happening as when I step through the relocator function if doesn't attempt to run the inner function of if (status == google.maps.GeocoderStatus.OK) { var location = results[0].geometry.location; clearControlsOnMap(markers); clearControlsOnMap(windows); if(markerCluster != null ) { markerCluster.clearMarkers(); } map.setCenter(location); map.setZoom(12); getData(feedUrl); } i've done a fair amount of work with the maps api for my websites so would be glad to help as much as i can.
Checking the console indicates you are adding the maps api multiple times which can cause an issue. This is probably what is happening as when I step through the relocator function if doesn't attempt to run the inner function of if (status == google.maps.GeocoderStatus.OK) { var location = results[0].geometry.location; clearControlsOnMap(markers); clearControlsOnMap(windows); if(markerCluster != null ) { markerCluster.clearMarkers(); } map.setCenter(location); map.setZoom(12); getData(feedUrl); } i've done a fair amount of work with the maps api for my websites so would be glad to help as much as i can.
5 Jul 2012 at 18:25 #4 davetherave2 davetherave2 Soldato Joined 27 Mar 2003 Posts 2,710 glad you got it sorted in the end. As I said I have done a fair amount with the maps api and the things I have done are probably only just scratching the surface.
glad you got it sorted in the end. As I said I have done a fair amount with the maps api and the things I have done are probably only just scratching the surface.