Skip to content

Commit e44d564

Browse files
committed
move maps to local hosting
1 parent 28e94d0 commit e44d564

7 files changed

+8
-1
lines changed

ngo_explorer/static/maps/africa_110m.json

+1
Large diffs are not rendered by default.

ngo_explorer/static/maps/asia_110m.json

+1
Large diffs are not rendered by default.

ngo_explorer/static/maps/europe_110m.json

+1
Large diffs are not rendered by default.

ngo_explorer/static/maps/north-america_110m.json

+1
Large diffs are not rendered by default.

ngo_explorer/static/maps/south-america_110m.json

+1
Large diffs are not rendered by default.

ngo_explorer/static/maps/world_110m.json

+1
Large diffs are not rendered by default.

ngo_explorer/utils/charts.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from collections import Counter
44
import re
55

6-
from flask import current_app
6+
from flask import current_app, url_for
77
from flask_babel import ngettext
88
import plotly.graph_objs as go
99
import plotly
@@ -134,6 +134,7 @@ def location_map(countries, continents=None, height=200, landcolor="rgb(229, 229
134134
displayModeBar=False,
135135
staticPlot=static,
136136
scrollZoom=False,
137+
topojsonURL=url_for('static', filename='maps/'),
137138
))
138139

139140

0 commit comments

Comments
 (0)