On Nov 14, 11:26 pm, "[email protected]" <[email protected]>
wrote:
> On Nov 14, 10:23 pm, sondhy <[email protected]> wrote:
>
> > Hi All,
>
> > We run a Real Estate portal in Australia, and we use Google Maps
> > static API
>
> You are not using the static maps API, you are using the Google Maps
> API V2.
>
> > to indicate the location of our properties which has been
> > working fine up until now!
>
> > It now defaults to (0,0) just off the coast of Africa.
>
> > Here's an example
>
> http://www.farmbuy.com/Listing_Display.aspx?ListingID=9706
>
> That has nothing to do with the maps API, your code in your page is
> doing that:
>
> function GoogleMapsload() {
>   map = new GMap2(document.getElementById("GoogleMap"),G_NORMAL_MAP);
>   map.addControl(new GLargeMapControl());
>   map.addControl(new GMapTypeControl());
>   map.setCenter(new GLatLng(0, 0), 13);
>   map.setMapType(G_NORMAL_MAP);
>   var icon = new GIcon(G_DEFAULT_ICON);
>   map.addOverlay(createMarker(0, 0, icon, ""));
>
> }
>
> Change your code to put meaningful latitude and longitude coordinates
> there.

It is working now.

Are you using the geocoding web service to return the coordinates?

That has a daily quota and a rate limit, you might consider storing
(caching) the results in a database on your server when you enter the
address and verify it is correct.  Then if there are errors on
particular addresses you can fix them.

  -- Larry

>
>   -- Larry
>
>
>
>
>
>
>
>
>
> > Any ideas or help is much appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to