[OpenLayers-Users] Hyperlink for polygon feature labels

aridh bose aridbh at yahoo.com
Thu Jul 26 12:47:28 PDT 2012


Thanks much for the response Alex, will try this out and post it back if it works.

Thanks,
Aridbh.



________________________________
 From: Alexandre Dubé <adube at mapgears.com>
To: openlayers-users at lists.osgeo.org 
Sent: Thursday, July 26, 2012 11:49 AM
Subject: Re: [OpenLayers-Users] Hyperlink for polygon feature labels
 
Hi Aridbh,

   Take a look at the following example :
http://dev.openlayers.org/releases/OpenLayers-2.12/examples/symbolizers-fill-stroke-graphic.html

   The center label label is clickable because it uses the 
labelSelect:true symbolizer set in the rules.  This could be a good 
start to look at.

HTH,

Alexandre


On 12-07-26 01:16 PM, aridbh wrote:
> Hi experts,
>
> Is it possible to have hyperlinks for the label of a vector feature? Does
> anyone has any idea on how to do this? I have a map which has vector
> polygons and point features. And the point features could fall within
> polygon features which makes it hard to click point inside the polygon if
> both polygon and point features have selectControl. So I am thinking if I
> can have hyperlinks to the labels of the polygon, I can remove the
> selectControl for Polygon and do the same functionality by clicking on label
> instead of anywhere in the polygon.
>
> Thanks,
> Aridbh.
>
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/Hyperlink-for-polygon-feature-labels-tp4991117.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120726/67947df0/attachment.html>


More information about the Users mailing list