Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GeoInt_SIDT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
GeoInt_SIDT
Commits
9c1c5dd9
Commit
9c1c5dd9
authored
Feb 09, 2021
by
irving
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
actualizado url para mapa de reportes
parent
3dc0d865
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
minimap.js
reports/static/reports/js/minimap.js
+8
-4
No files found.
reports/static/reports/js/minimap.js
View file @
9c1c5dd9
...
@@ -15,7 +15,8 @@ const layers2 = {
...
@@ -15,7 +15,8 @@ const layers2 = {
light
:
new
ol
.
layer
.
Tile
({
light
:
new
ol
.
layer
.
Tile
({
name
:
'mapbox'
,
name
:
'mapbox'
,
source
:
new
ol
.
source
.
XYZ
({
source
:
new
ol
.
source
.
XYZ
({
url
:
'https://api.tiles.mapbox.com/v4/mapbox.light/{z}/{x}/{y}.png?access_token='
+
MAPBOX_ACCESS_TOKEN
//url: 'https://api.tiles.mapbox.com/v4/mapbox.light/{z}/{x}/{y}.png?access_token=' + MAPBOX_ACCESS_TOKEN
url
:
'https://api.mapbox.com/styles/v1/mapbox/light-v10/tiles/256/{z}/{x}/{y}?access_token='
+
MAPBOX_ACCESS_TOKEN
})
})
}),
}),
...
@@ -36,7 +37,8 @@ const layers2 = {
...
@@ -36,7 +37,8 @@ const layers2 = {
cycle
:
new
ol
.
layer
.
Tile
({
cycle
:
new
ol
.
layer
.
Tile
({
name
:
'mapbox'
,
name
:
'mapbox'
,
source
:
new
ol
.
source
.
XYZ
({
source
:
new
ol
.
source
.
XYZ
({
url
:
'https://api.tiles.mapbox.com/v4/mapbox.outdoors/{z}/{x}/{y}.png?access_token='
+
MAPBOX_ACCESS_TOKEN
//url: 'https://api.tiles.mapbox.com/v4/mapbox.outdoors/{z}/{x}/{y}.png?access_token=' + MAPBOX_ACCESS_TOKEN
url
:
'https://api.mapbox.com/styles/v1/mapbox/outdoors-v11/tiles/256/{z}/{x}/{y}?access_token='
+
MAPBOX_ACCESS_TOKEN
}),
}),
})
})
}
}
...
@@ -44,7 +46,8 @@ const layers2 = {
...
@@ -44,7 +46,8 @@ const layers2 = {
const
light
=
new
ol
.
layer
.
Tile
({
const
light
=
new
ol
.
layer
.
Tile
({
name
:
'mapbox'
,
name
:
'mapbox'
,
source
:
new
ol
.
source
.
XYZ
({
source
:
new
ol
.
source
.
XYZ
({
url
:
'https://api.tiles.mapbox.com/v4/mapbox.light/{z}/{x}/{y}.png?access_token='
+
MAPBOX_ACCESS_TOKEN
//url: 'https://api.tiles.mapbox.com/v4/mapbox.light/{z}/{x}/{y}.png?access_token=' + MAPBOX_ACCESS_TOKEN
url
:
'https://api.mapbox.com/styles/v1/mapbox/light-v10/tiles/256/{z}/{x}/{y}?access_token='
+
MAPBOX_ACCESS_TOKEN
})
})
});
});
...
@@ -65,7 +68,8 @@ const night = new ol.layer.Tile({
...
@@ -65,7 +68,8 @@ const night = new ol.layer.Tile({
const
cycle
=
new
ol
.
layer
.
Tile
({
const
cycle
=
new
ol
.
layer
.
Tile
({
name
:
'mapbox'
,
name
:
'mapbox'
,
source
:
new
ol
.
source
.
XYZ
({
source
:
new
ol
.
source
.
XYZ
({
url
:
'https://api.tiles.mapbox.com/v4/mapbox.outdoors/{z}/{x}/{y}.png?access_token='
+
MAPBOX_ACCESS_TOKEN
//url: 'https://api.tiles.mapbox.com/v4/mapbox.outdoors/{z}/{x}/{y}.png?access_token=' + MAPBOX_ACCESS_TOKEN
url
:
'https://api.mapbox.com/styles/v1/mapbox/outdoors-v11/tiles/256/{z}/{x}/{y}?access_token='
+
MAPBOX_ACCESS_TOKEN
}),
}),
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment