[OpenLayers-Users] Hard to click on points for GetFeatureInfo

Bill Woodall bwoodall at bwoodall.org
Fri Jul 20 01:46:05 EDT 2007


Hi All

What has worked for me in using TOLERANCE is to put it into the mapfile
( if you are using MapServer) like ;

    LAYER
        NAME Scrub_and_Chaparral
        TEMPLATE blank
        TOLERANCE 1
        TOLERANCEUNITS feet
        METADATA
            "wms_title" "Scrub_and_Chaparral"
            "wms_include_items"  "CATEGORY,LEGEND,SOURCE"
        END
        TYPE POLYGON
        STATUS ON
        DATA Scrub_and_Chaparral

......Bill,

On Thu, 2007-07-19 at 20:08 +0200, Dmitri Mizerkin wrote:
> Hi Marc,
> 
> in a WMS/WFS service request the attribute you are looking for is
> called TOLERANCE. I think this should do it when set as a parameter in
> getFullRequestString function (see user recipies:
> http://trac.openlayers.org/wiki/GetFeatureInfo).
> 
> Hopefully it helps you out.
> 
> Cheers,
> Dmitri
> 
> 2007/7/19, Marc Desharnais <marc.desharnais at ec.gc.ca>:
>         Hi all,
>         
>         I search for an attribute to set to make it easier to click on
>         points to 
>         get some info about them.
>         I tried some things like RADIUS or REDIUS (saw that on a page
>         on
>         internet) but nothing works.
>         
>         I just want it to be easier to click on the point if it's
>         possible, a
>         couple of pixels more. 
>         
>         
>         Thank in advance,
>         
>         Marc
>         _______________________________________________
>         Users mailing list
>         Users at openlayers.org
>         http://openlayers.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list