hi !
it is possible to zoom to a collection of points by
var bounds = new OpenLayers.Bounds ();
// for some points
var wpoint;
wpoint = new OpenLayers.LonLat (coord[IdWayPoint][1],
coord[IdWayPoint][0]).transform(map.displayProjection,
map.getProjectionObject());
bounds.extend (wpoint);
but now i have s special situation.
only if the zoomlevel is smaller (ex. form 13 to 10) this should be
chance - otherwise the pan-part should be use.
did anybody now how to make this if possible ??
regards Jan :-)
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users