Plot google map with nice m_map borders / projections
3 次查看(过去 30 天)
显示 更早的评论
I would like to create a google satellite image of an area using the function plot_google_map but with a fancy border or on a certain map projections using m_map functions. Anyone know how to do this?
using these functions: https://www.eoas.ubc.ca/~rich/map.html#7._Lambert_Conformal_Projection_with_Med
some basic code, it's more the problem of combining the two functions:
m_grid('linestyle','none','tickdir','out','linewidth',3); %m_map projection
hold on
plot_google_map('maptype','satellite','showlabels','scale') % google map satellite
ylim([38 46]); % latitude
xlim([4 12]); % longitude
I tried it the other way, plot_google_map first and then m_grid but doesn't work either. Tried different projections too.
Ideally it would be nice to have the satellite image within the border, and if this example projection is too difficult, a straight forward square/rectangle projection would be fine.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Mapping Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!