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

6 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Feature Detection and Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by