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

10 vues (au cours des 30 derniers jours)
Lee
Lee le 15 Mai 2019
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?

Réponses (1)

Jyotish Kumar
Jyotish Kumar le 22 Mai 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

Catégories

En savoir plus sur Blue dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by