[OpenLayers-Users] Overlay layer jump durring pan
tommy408
tommytomorow at msn.com
Thu Aug 6 18:31:15 EDT 2009
My overlay layer keeps jumping around when I pan the map. It only does it on
Firefox. I've tried 2.6, 2.7 and 2.8. All of them do it. Anyone know how
I can fix it? It's probably somewhere in Image.js
base_layer = new OpenLayers.Layer.WMS(
"Geoserver layers - Tiled",
"http://localhost:8080/geoserver/wms",
{
height: '479',
width: '800',
layers: 'topp:custom',
styles: '',
srs: 'EPSG:4326',
format: format,
tiled: 'true',
tilesOrigin : "0,0"
},
{transitionEffect: 'resize'}
);
overlay_layer = new OpenLayers.Layer.WMS(
"Geoserver layers - Untiled",
"http://localhost:8080/geoserver/wms",
{
height: '479',
width: '800',
layers: 'topp:points',
styles: '',
srs: 'EPSG:4326',
format: format,
transparent: "true",
tilesOrigin : "0,0"
},
{singleTile: true, ratio: 1,transitionEffect: 'resize'}
);
map.addLayers([untiled,tiled]);
--
View this message in context: http://n2.nabble.com/Overlay-layer-jump-durring-pan-tp3401129p3401129.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list