an even better solution is to use the config parameters
<pointBuffer>
<shapeQueryBuffer>
and adapt them to the coordinate system used for your map and typical
scales used for tour application...
On 10/10/2014 09:06 PM, gioza wrote:
> 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.
>
> ------------------------------------------------------------------------------
> 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://p.sf.net/sfu/Zoho
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
------------------------------------------------------------------------------
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://p.sf.net/sfu/Zoho
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users