Got it.

Grok, your idea was a good one - but when I adopted the source from
that page into my own, it set the viewport correctly but still didn't
show the track. I pored over the docs till I noticed a statement that
you must immediately call setCenter() after initializing a map - I
wasn't doing that right away, since the zoom function does it.

Anyway, adding a call to map.setCenter(new GLatLng(0,0)); immediately
after the constructor call makes everything work.

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

Reply via email to