<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for clearing that for me :)<br>
<br>
Christopher Schmidt wrote:
<blockquote cite="mid:20090903113412.GF11853@metacarta.com" type="cite">
  <pre wrap="">On Thu, Sep 03, 2009 at 11:34:23AM +0300, Adrian Popa wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanks Andreas,

I've tested it on Mapserver layers, and it works great!

However, I  tried to add it to:
- OpenStreetMaps (OpenLayers.Layer.OSM.Osmarender),
- Google maps (OpenLayers.Layer.Google( 'Google Streets',  
{'sphericalMercator': true, transitionEffect: 'resize'} )
- and yahoo maps (OpenLayers.Layer.Yahoo( 'Yahoo Street',  
{sphericalMercator:true, transitionEffect: 'resize'}))
... and it doesn't work for these ones.

Is it supposed to work even for them?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
No, these layers are controlled by the various commercial
APIs associated with them, and we do not have control over
the tile drawing. (It is possible these APIs have options to 
control this behavior, but OpenLayers has no support for setting
those options.)

-- Chris

  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanks

Andreas Hocevar wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Adrian Popa wrote:
  
      </pre>
      <blockquote type="cite">
        <pre wrap="">Sorry for butting in, but is this effect supposed to work also when
the layer has singleTile='true'? (One image from mapserver)
    
        </pre>
      </blockquote>
      <pre wrap="">Definitely. See the example.

Regards,
Andreas.

  
      </pre>
      <blockquote type="cite">
        <pre wrap="">Thanks

Andreas Hocevar wrote:
    
        </pre>
        <blockquote type="cite">
          <pre wrap="">Florent Gravin wrote:
        
          </pre>
          <blockquote type="cite">
            <pre wrap="">Is there a way to keep the map displayed when you zoom (with bad
resolution) until the new tiles with a better resolution are loaded.
Like for exemple in Google Map where you NEVER have white map because
data are loading..
            
            </pre>
          </blockquote>
          <pre wrap="">This can be done in OL too. All you need is to pass

    transitionEffect: "resize"

to the layer's options.

To see it in action and as a starting point for your own map, have a
look at <a class="moz-txt-link-freetext" href="http://www.openlayers.org/dev/examples/transition.html">http://www.openlayers.org/dev/examples/transition.html</a>

Regards,
Andreas.


        
          </pre>
        </blockquote>
        <pre wrap="">-- 
--- Adrian Popa
NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP &amp; Metro
Compartiment IP Core &amp; Backbone
Phone: +40 21 400 3099
      
        </pre>
      </blockquote>
      <pre wrap="">
  
      </pre>
    </blockquote>
    <pre wrap="">
-- 
--- Adrian Popa
NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP &amp; Metro
Compartiment IP Core &amp; Backbone
Phone: +40 21 400 3099

    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
  <blockquote type="cite">
    <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@openlayers.org">Users@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
--- 
Adrian Popa
NOC Division
Network Engineer
Divizia Centrul National de Operare Retea
Departament Transport IP &amp; Metro
Compartiment IP Core &amp; Backbone
Phone: +40 21 400 3099
</pre>
</body>
</html>