Plot a polygon on web world map

4 vues (au cours des 30 derniers jours)
Ali
Ali le 15 Mai 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

Réponses (1)

Adam Danz
Adam Danz le 15 Mai 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

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by