Plotting points on google map/adjusting size by occurrence
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(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!