From cd790721b9baa8b7fbc91459144fcc61a853101c Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Sat, 18 Apr 2015 13:43:34 -0400 Subject: still works here, thanks to version pinning --- .../osm_plugin_fails_to_display_map_with_javascript_error.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/bugs/osm_plugin_fails_to_display_map_with_javascript_error.mdwn b/doc/bugs/osm_plugin_fails_to_display_map_with_javascript_error.mdwn index bc92e80a0..45a746e2e 100644 --- a/doc/bugs/osm_plugin_fails_to_display_map_with_javascript_error.mdwn +++ b/doc/bugs/osm_plugin_fails_to_display_map_with_javascript_error.mdwn @@ -10,3 +10,13 @@ The javascript errors I saw are: osm.js (line 30, col 1) --[[Joey]] + +> I guess OpenLayers made a backwards-incompatible change... At [reseaulibre](http://wiki.reseaulibre.ca/) it seems we have survived this because we have a local copy of the OpenLayers source code: +> +> osm_openlayers_url: http://wiki.reseaulibre.ca/OpenLayers-2.12/OpenLayers.js +> +> Try specifying a versionned URL for the source: +> +> osm_openlayers_url: http://openlayers.org/api/2.12/OpenLayers.js +> +> ... and see if that fixes the problem. Then we can start looking at the [release notes](https://github.com/openlayers/openlayers/blob/master/notes/2.13.md) to figure out what change they did that broke us and upgrade. Or pin the version on our side. Or simply [[switch to something else|todo/replace_openlayers_with_leaflet]]. --[[anarcat]] -- cgit v1.2.3