<div dir="ltr"><div><div><div><div><div>I have been trying to make my geojson layer popups center on the point that the user clicks, rather than moving to the centroid of the selected polygon. <br><br></div>I have been working with information from the standard examples for KML popups <a href="http://openlayers.org/dev/examples/sundials.html">http://openlayers.org/dev/examples/sundials.html</a><br>
</div>and <a href="http://openlayers.org/dev/examples/click.html">http://openlayers.org/dev/examples/click.html</a>  for using the lat / lon from the click event. <br><br></div>I have seen may posts where there has been a need to do this, but none with a clear, usable answer. <br>
<br></div>Would it be possible to publish an example that has a popup from a vector layer, rather than an alert, centered on the click location? <br><br></div>Regards,<br><div><div><div><div><div><div><br>Narelle Irvine<br>
<br><br><div style="display:inline"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div>
</div></div></div></div></div></div></div>