Search code examples
cachingextjsopenlayers

openlayers layers with arrow


I am using for my gis project openlayers and extjs .. last day i saw an app which has a arrow ... and when you move your mouse satellite layer slide on raster layer...

i am using arcgiscache.

with javascript can we do this?


Solution

  • I found this example using the Swipe class, maybe that could be of some help?

    The Swipe class doesn't seem to be in the default OpenLayers download, the example uses this file, download that and reference in your app and you should be able to use it according to the example.