ramnathv / rMaps

Interactive Maps from R
http://rmaps.github.io
389 stars 194 forks source link

Most examples in inst/libraries/leaflet/examples don't work #42

Open dkincaid opened 10 years ago

dkincaid commented 10 years ago

I'm trying to learn how to use this library by looking at the examples in inst/libraries/leaflet/examples but most of them don't display any map when they are run.

Example 1: The first map1 (the one with the tileLayer) is blank, but the second one without the tileLayer displays the map.

Example 2: Just displays a map of Vancouver/Portland with no overlay or anything. Maybe this is how it's supposed to be?

Example 3: No map shows up, but the two markers do.

Example 4: Both map4 and map5 display nothing

Those are the only ones I tried.

ramnathv commented 10 years ago

The default map provider Cloudmade changed their API terms recently completely dropping all free accounts. That is why most examples are not working. Use map$tileLayer(provider = 'Stamen.Tonerlite') or map$tileLayer(provider = 'MapquestOpen.OSM'), till I am able to systematically correct all examples.