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

4 views (last 30 days)
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?

Answers (1)

Jyotish Kumar
Jyotish Kumar on 22 May 2019
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

Community Treasure Hunt

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

Start Hunting!