[OpenLayers-Users] Hyperlink for polygon feature labels
Alexandre Dubé
adube at mapgears.com
Thu Jul 26 11:49:49 PDT 2012
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
More information about the Users
mailing list