Hi group, I printed hdf <- get_map(location = c(19.817955, 41.33071), zoom = 14, maptype = 'roadmap')
> ggmap(hdf, extent = 'normal', maprange = TRUE) + + geom_point(aes(colour = class), data = chkpts) + + theme_nothing() + theme(legend.position = 'right') where data = chkpts is like this: lonlatclass119.8311941.336951219.8338341.330531319.8337841.333021419.83119 41.336951519.8311941.336951 How can I add a description for one point of this. I tried to modify the example: ggmap(baylor) + theme_bw() + annotate('rect', xmin=-97.11920, ymin=31.5439, xmax=-97.101, ymax=31.5452, fill = I('black'), alpha = I(3/4)) + annotate('segment', x=-97.110, xend=-97.11920, y=31.5450, yend=31.5482, colour=I('red'), arrow = arrow(length=unit(0.3,"cm")), size = 1.5) + annotate('text', x=-97.110, y=31.5445, label = 'Department of Statistical Science', colour = I('red'), size = 6) + labs(x = 'Longitude', y = 'Latitude') + ggtitle('Baylor University') but unsuccessfully. Please help [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo