1
To know where you click the best is to have an SVG that has elements for each region and Javascript can know where the click occurred.
For caprat you can do so, for example:
The structure of the SVG (example of SVG copied from here):
<g>
<a xlink:href="#tocantins">
... etc
and the jQuery
$('svg a').on('click', function(e) {
e.preventDefault();
var id = this.getAttributeNS('http://www.w3.org/1999/xlink', 'href').slice(1);
$('input').val(id);
});
What format is this image in? is an SVG?
– Sergio