Hi Alasdair- The standard way of setting a zoom level for arbitrary marker sets is to use a GLatLngBounds object along with the GLatLngBounds.getCenter() and map.getBoundsZoomLevel() functions. You can find sample code for that in the group or demo gallery.
But I would caution you against having thousands of pins in a mapplet -- 200 is a reasonable maximum. Utilize filtering, clustering, or searching to keep the number down. - pamela On Wed, Dec 31, 2008 at 8:13 PM, alasdair.d <[email protected]> wrote: > > Hi, > > Relates to Mapplet at http://www.foodiesite.com/resources/usermapplet.xml > > My question is on of semantics, being one of wondering the best way to > link, so someone whom has added the map to their 'My Maps' section, so > they can go straight to it. What is the best way? Is there a way to > add an alias so it opens up directly? > > Second question relates to the best way to set the zoom level, given > that there are up to a thousand marker pins live on the map at any one > time. The markers show which recipes are been read around the world > by our readers. Any ideas are welcome? > > Alasdair.d > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
