필터 지우기
필터 지우기

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

조회 수: 2 (최근 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
Christina Jetzschmann 2022년 6월 15일
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개)

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by