Page 1 of 1

Google Map API

Posted: Sun Feb 26, 2006 1:43 pm
by php3ch0
Hi

I have used google maps api to do maps to locations on my business directory. Why when I use the google controls to zoom in and out it add extra markers to my map? If I use my controls to zoom in and out there is always only 1 marker.

http://www.ashfordlocal.co.uk/directory ... 4&#mapview

Please help

Posted: Fri Mar 03, 2006 7:55 am
by darryladie
I hate to tell you this but I cant see anything in the map area in Firefox.

Posted: Fri Mar 03, 2006 8:00 am
by Roja
darryladie wrote:I hate to tell you this but I cant see anything in the map area in Firefox.
Same here, and in fact, it doesn't show in IE either.

Posted: Fri Mar 03, 2006 8:28 am
by darryladie
*phew* glad it's not just me :wink:

Posted: Fri Mar 03, 2006 8:36 am
by php3ch0
Sorry people my fault. Forgot to include stuff in the body tag.

I'll fix it and let you know when it is online.

Posted: Sun Mar 05, 2006 1:41 am
by php3ch0
Sorry forgot to include the onLoad() function in body tag. Try it now it should work

Posted: Mon Mar 06, 2006 12:56 pm
by darryladie
I think it adds extra markers because it's Google's API and they get paid for advertising on the other businesses that advertise on Google Earth. Your best bet is to see if there is a Developer forum for Google Developers, I am sure there is one in Google Groups.