Filter löschen
Filter löschen

Plotting points on google map/adjusting size by occurrence

1 Ansicht (letzte 30 Tage)
Jack
Jack am 10 Jan. 2018
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!

Antworten (0)

Kategorien

Mehr zu Geographic Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by