I have a SpatialPointsDataFrame
with @data
like this:
Using spplot(object, "variable")
I draw map with coloured points (high-low values)
I want to know the row number of some points on my map.
Something like this:
click on the points which interest me -> print rownumber
I tried select.spatial(object, digitize = FALSE)
but, map doesn't show colour points (high-low values) but all of my points are black.