Skip to content

Commit 3c8176f

Browse files
authored
Merge pull request #562 from HashCode55/master
Removed mapquest references/files
2 parents a0379d4 + 2cda340 commit 3c8176f

File tree

8 files changed

+5
-15
lines changed

8 files changed

+5
-15
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ map for choropleth visualizations as well as passing Vincent/Vega
2828
visualizations as markers on the map.
2929

3030
The library has a number of built-in tilesets from OpenStreetMap,
31-
MapQuest Open, MapQuest Open Aerial, Mapbox, and Stamen, and supports
32-
custom tilesets with Mapbox or Cloudmade API keys. Folium supports both
31+
Mapbox, and Stamen, and supports custom tilesets with Mapbox
32+
or Cloudmade API keys. Folium supports both
3333
GeoJSON and TopoJSON overlays, as well as the binding of data to those
3434
overlays to create choropleth maps with color-brewer color schemes.
3535

folium/folium.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ class Map(LegacyMap):
2424
to Folium. Pass any of the following to the "tiles" keyword:
2525
2626
- "OpenStreetMap"
27-
- "MapQuest Open"
28-
- "MapQuest Open Aerial"
2927
- "Mapbox Bright" (Limited levels of zoom for free tiles)
3028
- "Mapbox Control Room" (Limited levels of zoom for free tiles)
3129
- "Stamen" (Terrain, Toner, and Watercolor)

folium/map.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ class LegacyMap(MacroElement):
6565
to Folium. Pass any of the following to the "tiles" keyword:
6666
6767
- "OpenStreetMap"
68-
- "MapQuest Open"
69-
- "MapQuest Open Aerial"
7068
- "Mapbox Bright" (Limited levels of zoom for free tiles)
7169
- "Mapbox Control Room" (Limited levels of zoom for free tiles)
7270
- "Stamen" (Terrain, Toner, and Watercolor)
@@ -348,8 +346,6 @@ class TileLayer(Layer):
348346
tiles: str, default 'OpenStreetMap'
349347
Map tileset to use. Can choose from this list of built-in tiles:
350348
- "OpenStreetMap"
351-
- "MapQuest Open"
352-
- "MapQuest Open Aerial"
353349
- "Mapbox Bright" (Limited levels of zoom for free tiles)
354350
- "Mapbox Control Room" (Limited levels of zoom for free tiles)
355351
- "Stamen" (Terrain, Toner, and Watercolor)

folium/templates/tiles/mapquestopen/attr.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

folium/templates/tiles/mapquestopen/tiles.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

folium/templates/tiles/mapquestopenaerial/attr.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

folium/templates/tiles/mapquestopenaerial/tiles.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/test_folium.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,11 @@ def test_custom_icon(self):
413413

414414
def test_tile_layer(self):
415415
mapa = folium.Map([48., 5.], tiles='stamentoner', zoom_start=6)
416-
layer = 'http://otile1.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.png'
417-
mapa.add_child(folium.map.TileLayer(layer, name='MapQuest',
416+
layer = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
417+
mapa.add_child(folium.map.TileLayer(layer, name='OpenStreetMap',
418418
attr='attribution'))
419419
mapa.add_child(folium.map.TileLayer(layer,
420-
name='MapQuest2',
420+
name='OpenStreetMap2',
421421
attr='attribution2',
422422
overlay=True))
423423
mapa.add_child(folium.map.LayerControl())

0 commit comments

Comments
 (0)