필터 지우기
필터 지우기

Plotting points on google map/adjusting size by occurrence

조회 수: 1 (최근 30일)
Jack
Jack 2018년 1월 10일
Hi,
I am using the plot_google_map function https://uk.mathworks.com/matlabcentral/fileexchange/27627-zoharby-plot-google-map.
I am trying to plot the number of vesicles passing a certain point, and therefore each latitude and longitude has more than one 'hit'. I.e. if the point of the road is busy, then there will be several counts in the data set.
Whilst I got the code working above, I would like to now do 2 things: (1) generate a heat/intensity map whereby those latitude/longitudes with a high number of counts (busy roads) appear in red, whilst low counts are a blue (overlaid on google maps) - another option with this is to adjust the size of the marker by the frequency of cars passing. (2) clicking each data points gives information about the amount of cars passing.
Does anyone have any ideas on how to do this?
My data is:
figure; plot(Longitude,Latitude,'.r','MarkerSize',20) plot_google_map('maptype','roadmap') zoomHandle=zoom; set(zoomHandle,'ActionPostCallback',@update_google_map); panHandle=pan; set(panHandle,'ActionPostCallback',@update_google_map);
Thank you!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geographic Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by