On Oct 3, 12:19 pm, Bob <[EMAIL PROTECTED]> wrote: > Thanks, this seems to deal with fitting the zoom level to a given > marker set. In the case I am dealing with there is only one marker. I > need to figure out how to set the zoom level so that at least one map > feature is shown. > > Example try Lat -1.283374 Lon 36.814824 at zoom level 12. Lots of map > features visible. > Now try Lat 1.783052 Lon 39.999806 same zoom level. Not very > informative! Zoom to level 10. We need to zoom out a long way before > we see any geography at all let alone roads. What I need is a smart > zoom that fits the map features available. > Coming soon: http://groups.google.com/group/Google-Maps-API/browse_frm/thread/53c4525e8d01e75d/58c1b09987b39e26?lnk=gst&q=extendeddata#58c1b09987b39e26
> Regards > Bob > > On Oct 3, 9:10 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > On Oct 2, 10:56 pm, Bob <[EMAIL PROTECTED]> wrote: > > > > I use the API to live track vehicles in a competetive motoring event. > > > In my country (Kenya) map coverage varies greatly. If the vehicle > > > position is somewhere in the capital Nairobi then showing a map icon > > > on a map at zoom level 14 is great. But if it's in the Chalbi Desert > > > then zoom level 10 will still show the icon in a blank square. > > > > Now in a tradional GIS API I can have a loop that increments the zoom > > > level while the number of GIS objects in the viewport == 0. > > > > Any ideas how I could get this effect with the Google API? > > > from Mike Williams' tutorial: > > Part 14 Fitting the map zoom to the > > datahttp://econym.org.uk/gmap/basic14.htm > > > > Regards Bob > > > > PS & OT. The Google Maps street coverage of Nairobi City increased > > > dramatically a few months back. But in Google Earth the old > > > (hopelessly inaccurate) coverage remains. Will the two eventually be > > > re-synched? Not sure where to ask this one.- Hide quoted text - > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
