How to implement pan functionality using sharpmap in web

Mar 29, 2012 at 4:30 AM

Hi,

 We are working on GIS application using sharpmap dll in web. We completed all zoomin,zoomout functionalities. All are working fine. We implemented Pan functionality also but its very very slow. Because everytime its calling going to server. We are requesting you to please give any idea to implement Pan which works very fast. Thanks in advance.

 

Thanks and regards,

subrahmanyam

Coordinator
Apr 2, 2012 at 9:22 AM

I assume it is slow since you keep getting the whole image during the pan operation.

It would be better to get only tiles of what you are viewing and try to reuse them if possible.

Hth FObermaier

Apr 9, 2012 at 4:46 AM

Thanks for your suggestion. We have small question. GetMap function always returns entire image. How to get tile image? Please give any idea.

Thanks in advance.

Apr 16, 2012 at 4:59 AM

 

var wms = new OpenLayers.Layer.WMS("NASA Global Mosaic",
"http://wms.jpl.nasa.gov/wms.cgi",
{
layers: "modis,global_mosaic",
transparent: true
}, {
opacity: 0.5,
singleTile: false
});