[OpenLayers-Users] Defining zoom levels with Google Maps

Glen Stampoultzis gstamp at gmail.com
Wed Jul 4 19:58:30 EDT 2007


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 <drspencer at hotmail.com> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070705/0a2ed339/attachment.html


More information about the Users mailing list