<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    <br>
    &nbsp; Here's some examples that should help :<br>
    <br>
    &nbsp; On a WMS Layer :
    <a class="moz-txt-link-freetext" href="http://openlayers.org/dev/examples/getfeatureinfo-popup.html">http://openlayers.org/dev/examples/getfeatureinfo-popup.html</a><br>
    &nbsp; On a Vector Layer :
    <a class="moz-txt-link-freetext" href="http://openlayers.org/dev/examples/highlight-feature.html">http://openlayers.org/dev/examples/highlight-feature.html</a><br>
    &nbsp; On multiple Vector Layers :
    <a class="moz-txt-link-freetext" href="http://openlayers.org/dev/examples/select-feature-multilayer.html">http://openlayers.org/dev/examples/select-feature-multilayer.html</a><br>
    <br>
    Regards,<br>
    <br>
    Alexandre<br>
    <br>
    <br>
    On 11-02-16 02:27 PM, Frederick L&ouml;big wrote:
    <blockquote cite="mid:BLU142-W3094CCFC8A8D0EA88381DB84D20@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      Hey there:
      <div><br>
      </div>
      <div>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...</div>
      <div><br>
      </div>
      <div>Thanks in advance,</div>
      <div>Freddy<br>
        <br>
        <div><br>
          <b><span class="ecxApple-style-span" style="font-family:
              arial; font-weight: normal; font-size: small;"><b>Frederick
                L&ouml;big</b><br>
              R&ouml;derichstra&szlig;e 59<br>
              60489 Frankfurt am Main<br>
              ---<br>
              E::&nbsp;<a moz-do-not-send="true"
                href="mailto:Frederick.Loebig@grunsnid.de">Frederick.Loebig@grunsnid.de</a><br>
              P: +49 (0) 69 - 78 99 52 41<br>
              M: +49 (0) 174 - 70 89 296<br>
              ---<br>
              <b>Office:</b><br>
              <b>euNetworks GmbH</b><br>
              Ludwig-Landmann-Stra&szlig;e 405
              <div>60486 Frankfurt am Main</div>
              <div>P: +49 (0) 69 - 90 554 - 532<br>
                E:&nbsp;<a moz-do-not-send="true"
                  href="mailto:Frederick.Loebig@eunetworks.com">Frederick.Loebig@eunetworks.com</a><br>
                S: floebig<br>
                <br>
                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.</div>
            </span></b></div>
        <br>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Alexandre Dub&eacute;
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
  </body>
</html>