Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
Get MapElement by Name
posted

I have a map with 2 layers and it is set to show the second layer once the map is zoomed in on. It is also set up to zoom in to the map element when the element is clicked on. There are a number of other shapefiles that need to be added to the project, but I only want them to be added if that area of the map is clicked on. How do I get the name of the element that has been clicked and pass it as a variable so it can be added as a map layer? This is assuming my shapefiles would be named the same as the map element name.

Thanks.

Parents Reply Children
No Data