I tried to specify numZoomLevels:17 for all the layers, including Markers, however, when I zoom to that point, markers still disappear (The Markers layer in the layer chooser is greyed).<br><br>How do I overcome that?<br><br>
I am using version 2.3-rc2<br><br>Zeppe<br><br><div><span class="gmail_quote">On 1/19/07, <b class="gmail_sendername">Pedrazzi Gelsomini</b> &lt;<a href="mailto:pedrazzi.gelsomini@gmail.com">pedrazzi.gelsomini@gmail.com</a>
&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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 <span id="st" name="st" class="st">marker</span> 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;" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

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>

<br>_______________________________________________<br>Users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://openlayers.org/mailman/listinfo/users" target="_blank">
http://openlayers.org/mailman/listinfo/users</a><br><br><br></blockquote></div><br>