Hello users,
>From Pan.js i can see a slideFactor of 50. Shouldn't i be able to call this
option inside OpenLayers.Control.PanPanel ???
I have the following code:
var options = {
projection: mercator,
displayProjection: wgs,
units: 'm',
controls: [new OpenLayers.Control.PanPanel({slideFactor:200})],
numZoomLevels: 20,
maxExtent: mercatorbounds,
restrictedExtent: mercatorbounds
};
I suppose this should work here, right???
Obviously if i change the value in the pan.js everything goes right but i
would rather prefer not changing this value here and change it just in the
app's code. Is this possible???
Many thanks,
Hugo
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users