Plot a polygon on web world map

3 visualizzazioni (ultimi 30 giorni)
Ali
Ali il 15 Mag 2023
Risposto: Adam Danz il 15 Mag 2023
Hello dear friends
Is there a way to plot a free hand polygon using drawpolygon function on web world map (webmap)?
Thanks in advance;
Best regards

Risposte (1)

Adam Danz
Adam Danz il 15 Mag 2023
> Is there a way to plot a free hand polygon using drawpolygon function on web world map (webmap)?
Polygon objects created in drawpolygon can only drawn on axes but webmap does not contain axes. You can use wmpolygon if you know the coordinates but this does not offer interactive drawing. See also https://www.mathworks.com/help/map/adding-overlay-layers-to-a-web-map.html

Prodotti


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by