Wednesday 3 April 2019

line - Show pop-up where user clicked in OpenLayers


How to change this example ( http://openlayers.org/dev/examples/select-feature-openpopup.html ) so that when the user clicks on a line (feature) pop-up display where the user clicked? A few days trying to do it, does not work.


My code (alert doesnt show when i clicked on feature (line)):





Help me. Thanks!




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...