I have a long list (around 900 thousand) of latitude and longitude (please note that these coordinates vary up to 13th decimal places) with category of crime done in this coordinates.
This is snapshot of data
Problem: I want to plot a heat map irrespective of type of crime done using only latitude and longitude. something like this
This is what I have tried using googleVis
M1 <- gvisMap(df_latlong, "LatLong" , "Category",
options=list(showTip=TRUE, showLine=TRUE, enableScrollWheel=TRUE,
mapType='hybrid', useMapTypeControl=TRUE,
width=800,height=600))
plot(M1)
But this is something else and it is ignoring most of the data. I have no clue how to do it.
Thanks a lot!