How to display an image as a marker in a worldmap?

5 ビュー (過去 30 日間)
Lee
Lee 2019 年 5 月 15 日
回答済み: Jyotish Kumar 2019 年 5 月 22 日
I am trying to use a png image as a marker in a world map. My world map syntax is:
worldmap([10 75],[160 -30])
setm(gca,'MapProjection','mercator')
geoshow(gca, land, 'FaceColor', [0.5 0.7 0.5])
hold on
I am trying to insert a png image at lat = 26.6159 and lon = -80.77899.
What function do I need to use to complete this task?

回答 (1 件)

Jyotish Kumar
Jyotish Kumar 2019 年 5 月 22 日
Hi,
I understand that you are trying to use a PNG image as a marker in a world map. There are two functions you can try according to your end goal:
  1. wmmarker https://www.mathworks.com/help/map/ref/wmmarker.html
  1. insertMarker https://www.mathworks.com/help/vision/ref/insertmarker.html

カテゴリ

Help Center および File ExchangeFeature Detection and Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by