β¨ | United Nations Maps & Geoservices | Add a fieldWidget with coordinates to place a marker on a map
π·π΄Romania paula_iuga
paula_iuga β created an issue.
π·π΄Romania paula_iuga
There is a new option on view "Overwrite regions" that solves this issue. It works on any map type.
E.g.:
- Carto Tile:
- Clear Map:
β¨ | United Nations Maps & Geoservices | Allow to register JS listeners on map events over CartoTile
π·π΄Romania paula_iuga
β¨ | United Nations Maps & Geoservices | Allow to register JS listeners on map events over CartoTile
π·π΄Romania paula_iuga
You can susbcribe to 'clickOnCountry' and 'hoverOnCountry' custom events. The iso3Code of the country will be sent in the event's detail.
document.addEventListener('clickOnCountry', function(event) {
// Event handling logic here
console.log('Custom click event on:', event.detail);
});
document.addEventListener('hoverOnCountry', function(event) {
// Event handling logic here
console.log('Custom hover event on:', event.detail);
});
π·π΄Romania paula_iuga
π·π΄Romania paula_iuga
paula_iuga β made their first commit to this issueβs fork.
π·π΄Romania paula_iuga
paula_iuga β created an issue.
π·π΄Romania paula_iuga
paula_iuga β made their first commit to this issueβs fork.