Plot a polygon on web world map

3 visualizaciones (últimos 30 días)
Ali
Ali el 15 de Mayo de 2023
Respondida: Adam Danz el 15 de Mayo de 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

Respuestas (1)

Adam Danz
Adam Danz el 15 de Mayo de 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

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by