[OpenLayers-Users] OpenLayers.Control.Swipe
Sergeant_york
electronicpanda at gmail.com
Mon Feb 11 11:47:59 PST 2013
Actually with a bit javascript hackish method you can also make it works
great for 2.11 and 2.12 after initializing map:
/*map initialization here*/
map.layerContainerOriginPx=new Object();
map.layerContainerOriginPx.x=0;//these x and y are the starting point of
your map's div I guess
map.layerContainerOriginPx.y=0;//if it is fullscreen map then x and y
should be 0
/*codes like in above example*/
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/OpenLayers-Control-Swipe-tp5032742p5033546.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list