Hi,<br><br>Looks like fractionalZoom does not like worldwind layers...<br>When fractionalZoom is set to true, i've got a pb with worldwind layers. When zooming, worldwind layers' tiles show in pink, as if it couldn't find any. Even, apparently, at normal, integer levels of zoom.<br>
You can easily experiment it with this slightly modified version of the worldwind example : <br> <span style="font-family: courier new,monospace;"><script type="text/javascript"></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> var map, ol_wms, ww, ww2;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> function init(){</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> map = new OpenLayers.Map('map', {'maxResolution': .28125, tileSize: new OpenLayers.Size(512, 512), controls: []});</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> "<a href="http://labs.metacarta.com/wms/vmap0?">http://labs.metacarta.com/wms/vmap0?</a>", {layers: 'basic'} );</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ww = new OpenLayers.Layer.WorldWind( "Bathy",</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> "<a href="http://worldwind25.arc.nasa.gov/tile/tile.aspx?">http://worldwind25.arc.nasa.gov/tile/tile.aspx?</a>", 36, 4,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> {T:"bmng.topo.bathy.200406"});</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ww2 = new OpenLayers.Layer.WorldWind( "LANDSAT",</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> "<a href="http://worldwind25.arc.nasa.gov/tile/tile.aspx">http://worldwind25.arc.nasa.gov/tile/tile.aspx</a>", 2.25, 4,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> {T:"105"});</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> map.addLayers([ol_wms, ww, ww2]);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> map.addControl(new OpenLayers.Control.LayerSwitcher());</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> map.addControl(new OpenLayers.Control.PanZoomBar());</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> map.addControl(new OpenLayers.Control.MouseToolbar());</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> map.setCenter(new OpenLayers.LonLat(-71.4, 42.3), 6);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> map.fractionalZoom = true;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> </script></span><br> <br>Jean<br clear="all"><br>
-- <br>Information Géographique et Environnement<br>39 chemin Canto Laouzeto<br>31100 Toulouse<br>France<br> <br>Port +33 6 09 23 21 36<br>Fax +33 5 61 86 09 23<br>Mail : <a href="mailto:jean.pommier@ige.fr">jean.pommier@ige.fr</a><br>
Site web : <a href="http://www.ige.fr">www.ige.fr</a><br>Suivez de près l'actualité d'IGE grâce à notre fil RSS : <a href="http://www.ige.fr/actualites/rss.php">http://www.ige.fr/actualites/rss.php</a>