I am using python to visualize how a polygon (not yet with multipolygon) can be visualized within this map.
python -m venv env-name
source env-name/bin/activateA
pip install numpy
Do this after u finish coding session or sth, or wanna fk of frm env
deactivate
Make sure your env has all the lib inside requirements.txt
. Usually just run this when you activate your environment already.
pip install
Inside ./script.py
, change this line to your prefered polygon coordinates.
...
border = "SRID=4326;POLYGON((101.3260618 0.5985796,101.3277795 0.5965827,...))"
...
Run this to execute
python script.py
You will see changes inside ./polygon_map.html
, then you can open it in your browser to see the map with the highlighted area.