Plot google map with nice m_map borders / projections
조회 수: 2 (최근 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!