The quotes I forgot about (it's a php generated script.) The 'lat' 'long' I just stuck in there as an example/tag.
I manage to display the map itself, I have difficulty drawing the circles. (I am also wondering if there is a good way to figure out what the lenght/width of a pixel is on the map) On Sep 11, 10:30 am, "warden [Andrew Leach - Maps API Guru]" <[EMAIL PROTECTED]> wrote: > On Sep 11, 3:02 pm, csdude <[EMAIL PROTECTED]> wrote: > > > is there a simple example that shows how to do this ? > > (I basically am looking for a drawCircle function/method that I can > > use to draw a circle or ring) > > Marcelo has a couple.http://maps.forum.nu > > Do peruse the posting > guidelineshttp://groups.google.com/group/Google-Maps-API/web/suggested-posting-... > (in particular the bits about searching, code snippets and regarding > first posts). Your repost has been discarded. > > These might cause problems: > var map = new GMap2(document.getElementById(\"map\")); > because you've escaped quotes unnecessarily. > map.setCenter(new GLatLng('lat', 'long'), 3); > because you're using strings in a GLatLng object. GLatLngs take > numbers. > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
