Re: [pmapper-users] Pmapper5: zoom to selected features
Brought to you by:
arminburger
From: gioza <al...@al...> - 2014-10-10 19:06:44
|
a much better solution for my work is to modify pm.map.js in this way: line 162 zoom2extent: function(layer, idx, extStr, zoomfull) { var ext = extStr.split(","); var minx = (ext[0]*0.9995); var miny = (ext[1]*0.9995); var maxx = (ext[2]*1.0005); var maxy = (ext[3]*1.0005); map.zoomToExtent( new OpenLayers.Bounds(minx, miny, maxx, maxy), true ); }, the previous solution gives problem with History Navigation... -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-zoom-to-selected-features-tp4025486p4025634.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |