Try adding extent="panel"
to your qmap
call. The default, extent="device"
, puts a theme_nothing
onto the plot which gets rid of the scales labels.
SHmap <- qmap(c(lon=mean(data[,'lon'], na.rm=TRUE), lat=mean(data$lat, na.rm=TRUE)),
zoom=7, extent="panel")
SHmap <- SHmap + geom_point(aes(x=lon, y=lat, color=value), data=data)
SHmap
Or just override those parts of the theme which control the legend so that they show up.