Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
FFS Gluon
Commits
65f5a3b0
Unverified
Commit
65f5a3b0
authored
3 years ago
by
Martin Weinelt
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #2394 from freifunk-gluon/update-ol
parents
545d1cbb
62b24ed7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/user/site.rst
+1
-1
1 addition, 1 deletion
docs/user/site.rst
package/gluon-web-osm/luasrc/usr/lib/lua/gluon/web/model/osm.lua
+2
-1
2 additions, 1 deletion
.../gluon-web-osm/luasrc/usr/lib/lua/gluon/web/model/osm.lua
with
3 additions
and
2 deletions
docs/user/site.rst
+
1
−
1
View file @
65f5a3b0
...
@@ -471,7 +471,7 @@ config_mode \: optional
...
@@ -471,7 +471,7 @@ config_mode \: optional
*openlayers_url* allows to override the base URL of the
*openlayers_url* allows to override the base URL of the
*build/ol.js* and *css/ol.css* files (the default is
*build/ol.js* and *css/ol.css* files (the default is
``https://cdn.
rawgit.com
/openlayers/openlayers.github.io
/master
/en/v5.
2
.0``).
``https://cdn.
jsdelivr.net/gh
/openlayers/openlayers.github.io
@35ffe7626ce16c372143f3c903950750075e7068
/en/v5.
3
.0``).
It is also possible to replace the default tile layer (which is OpenStreetMap)
It is also possible to replace the default tile layer (which is OpenStreetMap)
with a custom one using the *tile_layer* section. Only XYZ layers are supported
with a custom one using the *tile_layer* section. Only XYZ layers are supported
at this point.
at this point.
...
...
This diff is collapsed.
Click to expand it.
package/gluon-web-osm/luasrc/usr/lib/lua/gluon/web/model/osm.lua
+
2
−
1
View file @
65f5a3b0
...
@@ -4,7 +4,8 @@ local util = require "gluon.web.util"
...
@@ -4,7 +4,8 @@ local util = require "gluon.web.util"
local
class
=
util
.
class
local
class
=
util
.
class
local
DEFAULT_URL
=
'https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.2.0'
local
DEFAULT_URL
=
'https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@35ffe7626ce16c372143f3c903950750075e7068/en/v5.3.0'
local
M
=
{}
local
M
=
{}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment