Hi,
Here's some examples that should help :
On a WMS Layer :
http://openlayers.org/dev/examples/getfeatureinfo-popup.html
On a Vector Layer :
http://openlayers.org/dev/examples/highlight-feature.html
On multiple Vector Layers :
http://openlayers.org/dev/examples/select-feature-multilayer.html
Regards,
Alexandre
On 11-02-16 02:27 PM, Frederick Löbig wrote:
Hey there:
I have a basemap in Openlayers and a layer including a polygon. I now
want to click that map and check if i clicked inside the polygon or
not. In both cases I want to alert the result. I now don't want you to
provide me with any code, I just want to know if this is possible and
a rough direction where to start...
Thanks in advance,
Freddy
**Frederick Löbig*
Röderichstraße 59
60489 Frankfurt am Main
---
E:: [email protected] <mailto:[email protected]>
P: +49 (0) 69 - 78 99 52 41
M: +49 (0) 174 - 70 89 296
---
*Office:*
*euNetworks GmbH*
Ludwig-Landmann-Straße 405
60486 Frankfurt am Main
P: +49 (0) 69 - 90 554 - 532
E: [email protected]
<mailto:[email protected]>
S: floebig
This email and any attachments may contain confidential and/or legally
privileged information. If you are not the intended recipient, please
delete the email without reading it and notify the sender.
*
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
--
Alexandre Dubé
Mapgears
www.mapgears.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users