Hi everyone,<br><br>I have a problem with the &quot;maxZoomLevel&quot; attribute.<br>I need to have a maxZoomLevel bigger than 16 for my &quot;Google Satellite&quot; layer.<br>So I tried to set the &#39;maxZoomLevel&#39; at 17 (or more).
<br>The problem is that I can zoom-in the Google map layer until 17, but after 16 my markers disappear.<br>I added my marker from mapserver like a WFS layer.<br>What is the trouble?<br><br>This is a piece of my code:<br>______________________________________________________________________________________________________________________
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; map = new OpenLayers.Map(&#39;map&#39;, {controls: [], &#39;numZoomLevels&#39;:17, unix:&#39;meters&#39;, projection: &#39;EPSG:4326&#39;});<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var satellite = new OpenLayers.Layer.Google( &quot;Google Satellite&quot; , {type: G_SATELLITE_MAP, &#39;maxZoomLevel&#39;:17} );
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var hybrid = new OpenLayers.Layer.Google( &quot;Google Hybrid&quot; , {type: G_HYBRID_MAP, &#39;maxZoomLevel&#39;:17});<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var normal = new OpenLayers.Layer.Google( &quot;Google Map&quot; , {type: G_NORMAL_MAP, &#39;maxZoomLevel&#39;:17});
<br><br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; var wfs = new OpenLayers.Layer.WFS( &quot;Points WFS&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;<a href="http://localhost/cgi-bin/mapserv?map=/var/www/mysite/mapserver/config/my_points.map&amp;">http://localhost/cgi-bin/mapserv?map=/var/www/mysite/mapserver/config/my_points.map&amp;
</a>&quot;, <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {typename: &quot;points&quot;, maxfeatures: 100, maxZoomLevel : 17, &#39;layers&#39;: &#39;points&#39;},<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { featureClass: OpenLayers.Feature.WFS}, <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {isBaseLayer: false});
<br>______________________________________________________________________________________________________________________<br><br>I read a comment (<a href="http://openlayers.org/pipermail/users/2006-November/000108.html">
http://openlayers.org/pipermail/users/2006-November/000108.html</a>) about a similar problem, but with a WMS layer and not a WFS layer.<br>The answer was:<br><br>&quot; This problem is probably related to the fact that numZoomLevels for the WMS layer is by default less than that for the Google layer, so you can zoom in farther for Google, and the WMS layer turns off. 
<br>I&#39;m not sure though, so if you can&#39;t figure out how to resolve it, it probably makes sense to open a ticket in Trac. &quot;<br><br>Do you think that it is the same problem that I have?<br>Any suggestions?<br><br>
Thanks so much!<br>Francesca<br>