Add OpenLayers 4.6.5 support.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / extension.json
index d6e32932c1b8a505045463d573e2aef4de3d3472..cb0b2718bef105bccb0fdc8a982102d82bc3d721 100644 (file)
@@ -1,6 +1,6 @@
 {
        "name": "Winterrodeln Map",
-       "version": "3.3.2",
+       "version": "4.0.0",
        "author": "Philipp Spitzer",
        "url": "http://www.winterrodeln.org/trac/wiki/WrMap",
        "description": "This extension creates a map using OpenLayers to show sledrun details and sledrun overviews.",
        "ResourceModules": {
                "ext.wrmap": {
                        "scripts": [
-                               "openlayers/OpenLayers.min.js",
+                               "https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.5/ol-debug.js",
                                "wrmap.js"
                        ],
                        "styles": [
-                               "openlayers/theme/default/style.css",
-                               "openlayers/theme/default/google.css"
+                               "https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.5/ol-debug.css"
                        ],
                        "position": "top"
                },
                "ext.wrmap.mobile": {
                        "scripts": [
-                               "openlayers/OpenLayers.min.js",
+                               "https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.5/ol-debug.js",
                                "wrmap.js"
                        ],
                        "styles": [
-                               "openlayers/theme/default/style.css",
-                               "openlayers/theme/default/google.css"
+                               "https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.5/ol-debug.css"
                        ],
                        "position": "top",
                        "targets": "mobile"