[OpenLayers-Users] maximum ZoomLevel for google maps
Rodolfo Moreno
rmoreno at voxiva.com
Mon Nov 24 18:34:17 EST 2008
Hi all,
I am using openlayers for showing my mapguide layers and google maps as base
layer.
my problem is that the "zoom in" this limited until a certain scale. In my
case the maximum scale that I can achieve is 1:18k (this is what the map
shows).
I did a comparison with the own google maps GUI (http://maps.google.com/)
and I have seen that to my sample application lack it 4 zoom levels in order
to achieve the maximum scale.
So I was reviewing the openlayers documentation and I found this
link(http://trac.openlayers.org/wiki/SettingZoomLevels).
I did some change in my code like this:
var satellite = new OpenLayers.Layer.Google(
"Google Satellite" , {type: G_NORMAL_MAP}, { minZoomLevel:
0, maxZoomLevel: 30}
);
but even it doesn't work as I want.
I appreciate all idea
Regards
-----
Rodolfo Moreno
CivilEng
--
View this message in context: http://n2.nabble.com/maximum-ZoomLevel-for-google-maps-tp1574304p1574304.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list