I have tried using maxZoomLevel etc. but to my understanding, this only decides if the layer should be drawn or not, and it does not actually define the resolutions used. Is this correct? Also, I found some google maps resolutions over at http://dev.openlayers.org/docs/overview-summary-Google.js.html , but I am not sure of how to insert them (3, to be exact) in my example. Any suggestions? Many thanks for your rapid reply.
Magnus Glen Stampoultzis-2 wrote: > > Well the resolutions are defined in an array called RESOLUTIONS in > google.js. > I'm guessing you could start by looking at altering that and/or > MIN_ZOOM_LEVEL, MAX_ZOOM_LEVEL. > > On 05/07/07, kaka <[EMAIL PROTECTED]> wrote: >> >> >> Hi >> I am trying to create a map with only three zoom levels, using google >> maps >> as background. I have put up an example at >> http://www.villageografica.com/test50/zoomLevels.html . I would like to >> keep >> the top three zoom levels and cut the lower six ones, but if I change the >> number of zoom levels from 9 to 3, the map will be far too zoomed out on >> first load, much more than intended, >> http://www.villageografica.com/test50/zoomLevels2.html . Is there a way >> to >> define exactly which ones to use? >> >> Magnus >> -- >> View this message in context: >> http://www.nabble.com/Defining-zoom-levels-with-Google-Maps-tf4027046.html#a11439053 >> Sent from the OpenLayers Users mailing list archive at Nabble.com. >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/Defining-zoom-levels-with-Google-Maps-tf4027046.html#a11439171 Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
