How to click and drag points on a map in mapping toolbox?

7 次查看(过去 30 天)
I want to use the mapping toolbox to plot a map (zoomed to a country, region or area) where I interactively can set, drag and drop points (coordinates). The new coordinates of these points should then be saved in the corresponding / new variable. Is this feasible? If so, how?

采纳的回答

Jean-Paul Marcade
Jean-Paul Marcade 2022-6-13
I believe that gcpmap & inputm are 2 good candidates for your use case. There are examples in the corresponding documentation pages.
  1 个评论
Christina Jetzschmann
Thank you, it is a good hint. Drag and drop is not directly feasible with those commands, but I can modify the loop and re-write the variables.
If there is a hint for drag and drop, I would be grateful.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Exploration 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by