[OpenLayers-Users] Overlay layer jump durring pan
Ivan Grcic
igrcic at gmail.com
Fri Aug 7 06:31:22 EDT 2009
Hi, you should put ratio in untiled layer to some bigger value, at
least 1.4 or so.
And what excalty does it mean 'jumping' ? :)
On Fri, Aug 7, 2009 at 12:31 AM, tommy408<tommytomorow at msn.com> wrote:
>
> 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.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
--
Ivan Grcic
More information about the Users
mailing list