Narrative web : use latest version from openlayers. (#713)
Fixes #10884
This commit is contained in:
parent
7078ca18ee
commit
1d3202710a
@ -693,11 +693,11 @@ class PersonPages(BasePage):
|
||||
head += Html("script", type="text/javascript",
|
||||
src=src_js, inline=True)
|
||||
src_js = self.secure_mode
|
||||
src_js += "openlayers.org/en/v3.17.1/build/ol.js"
|
||||
src_js += "openlayers.org/en/latest/build/ol.js"
|
||||
head += Html("script", type="text/javascript",
|
||||
src=src_js, inline=True)
|
||||
url = self.secure_mode
|
||||
url += "openlayers.org/en/v3.17.1/css/ol.css"
|
||||
url += "openlayers.org/en/latest/css/ol.css"
|
||||
head += Html("link", href=url, type="text/javascript",
|
||||
rel="stylesheet")
|
||||
src_js = self.secure_mode
|
||||
|
@ -375,11 +375,11 @@ class PlacePages(BasePage):
|
||||
head += Html("script", type="text/javascript",
|
||||
src=src_js, inline=True)
|
||||
src_js = self.secure_mode
|
||||
src_js += "openlayers.org/en/v3.17.1/build/ol.js"
|
||||
src_js += "openlayers.org/en/latest/build/ol.js"
|
||||
head += Html("script", type="text/javascript",
|
||||
src=src_js, inline=True)
|
||||
url = self.secure_mode
|
||||
url += "openlayers.org/en/v3.17.1/css/ol.css"
|
||||
url += "openlayers.org/en/latest/css/ol.css"
|
||||
head += Html("link", href=url, type="text/javascript",
|
||||
rel="stylesheet")
|
||||
src_js = self.secure_mode
|
||||
|
Loading…
Reference in New Issue
Block a user