dkahle / ggmap

A package for plotting maps in R with ggplot2
766 stars 231 forks source link

Do I need google API key even for plotting OpenStreetMap/Stamen Maps? #329

Open ashishjain1988 opened 2 years ago

ashishjain1988 commented 2 years ago

After reading the manual I thought that for plotting OpenStreetMap/Stamen Maps I don't need google API. Is that true or is all the functionality of ggmap is dependent on google web services?

nstjhp commented 1 year ago

Stamen Maps works fine without a google API key. OSM is a different matter - as far as I understand it, it doesn't work with ggmap (see issue #117 )

ianthetechie commented 10 months ago

In case anyone arrives here via searching, you do not need a Google API key for plotting Stamen Maps. You do however need a Stadia Maps API key.

If you're having trouble with the Stamen map tiles, see the discussion on #350. ggplot version 4.0.0 was released on CRAN yesterday, and you can find instructions on how to use it with Stamen tiles in the README.