Select a country or other region


  • I would like my users to be able to click on a country within the map and have that country highlight in a custom way.  I would then like to take the border data of that country (I assume as a polygon) and pass it to a web service (already built) to get data within those boundaries and place pins on map, etc (already built).

    The data side is all sorted as are the pin placements, I just need to be able to select a country.

    Final goal: after that is working, I would like the user to be able to select only certain regions or town as their zoom level increases.  So I would set the "mode" of selection based upon the zoom level so there wouldn't be overlapping regions.

    Thank you for any guidance or help.

    -- edit -- I would also like to produce an effect on hover, but selection is the priority.
    • Edited by Aequitatis Sunday, January 6, 2019 1:39 PM
    Sunday, January 6, 2019 1:38 PM

All replies