so what should i exactly do? could you show me how i should change my
code?
map = new GMap2(document.getElementById("map_canvas"));
geocoder = new GClientGeocoder();
map.setCenter(new GLatLng(-33.932716614739945, 18.41205596923828),
20);
map.addControl(new GLargeMapControl());//GSmallMapControl
map.addControl(new GMapTypeControl());
map.addControl(new GOverviewMapControl());
map.addControl(new GScaleControl());
map.setMapType(G_HYBRID_MAP);
On 26 nov, 21:11, Mike Williams <[EMAIL PROTECTED]> wrote:
> Wasn't it Korebrits who wrote:
>
>
>
> >Thanks Mike,
> >Indeed i had noticed that aswell, however chaning that didn't help.
> >That is also only part of my problem. My real problem is that the
> >location diplayed is hundreds of miles off from the point its supposed
> >to be..
>
> In that case your previous statement that "the coordinates are correct"
> is obviously false.
>
> Since you already have the coordinates
> "-33.92232122943945,18.422527313232422" there's no point calling the
> geocoder, but since you do, the API now reverse geocodes that to find
> the nearest point with an address: "Adderley Street, Cape Town, South
> Africa" and then geocodes that to give "-33.9210403, 18.4241363".
> Because Google only have Street Level geocoding in Adderley Street, you
> lose the position within the street.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---