I need to match locations recorded with their coordinates (latitude/longitude) to the visitor's selection from an interactive map using region codes (ISO-3166-2).
Anyone has a take on this please? Not too sure how to go about it and/or if it's possible.
This is code for fetching region codes(ISO-3166-2) using google maps.
Fiddle Link
Js
html
Disclaimer code modified from Fiddle