Topic: Country borders

Hello.
I want to highlight certain countries on the map based on a set marker. I'm thinking of doing this via a layer overlay on the map, but I don't understand how I can define the borders. Maybe someone has already encountered this problem, or there are already examples of similar implementations.
On the screenshot is the realization I want to achieve.

Post's attachments

Attachment icon chrome_axodyRP0Wp.png 139.29 kb, 44 downloads since 2023-07-26 

Re: Country borders

Hi.

I would probably solve this task this way:
1. In Mapbox Studio, create a style with only borders (and fills if needed).
2. Download all raster tiles for zoom to get a global map of the borders of the required resolution.
Zoom 3 - 2048x2048, 4 - 4096x4096, 5 - 8192x8192.
3. Combine them with a script to get a single image.
4. In a graphic editor, cut the borders of the required countries into separate images.
5. Use them as an overlay in one of these ways:
https://forum.infinity-code.com/viewtop … 6419#p6419
https://forum.infinity-code.com/viewtopic.php?id=2142

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.