I figured out with a change to pm.map.js:
add to line 162->166 the map.zoomOut() control in this way:
FROM
zoom2extent: function(layer, idx, extStr, zoomfull) {
var ext = extStr.split(",");
map.zoomToExtent( new OpenLayers.Bounds(ext[0], ext[1], ext[2],
ext[3]),
true );
},
TO
zoom2extent: function(layer, idx, extStr, zoomfull) {
var ext = extStr.split(",");
map.zoomToExtent( new OpenLayers.Bounds(ext[0], ext[1], ext[2],
ext[3]),
true );
map.zoomOut();
},
As you select a features by "search tools" the zoomToextent will zoom out so
that all the features you selected with the query are completely visible
--
View this message in context:
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-zoom-to-selected-features-tp4025486p4025632.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive
at Nabble.com.
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users