Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fordecyt_2019
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rodrigo Tapia-McClung
fordecyt_2019
Commits
6ac7e518
Commit
6ac7e518
authored
Sep 03, 2019
by
Rodrigo Tapia-McClung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up index
parent
7e24cf65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
90 deletions
+22
-90
index.html
public/grijalva/index.html
+22
-90
No files found.
public/grijalva/index.html
View file @
6ac7e518
...
...
@@ -18,8 +18,6 @@
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../css/style.css"
>
<link
rel=
"icon"
href=
"../img/grijalva.png"
sizes=
"16x16"
>
<!--<link rel="stylesheet" href="./css/map.css" type="text/css">-->
</head>
<body>
<div
id=
"initial-backdrop"
>
...
...
@@ -138,94 +136,28 @@
</div>
<script
src=
"https://code.jquery.com/jquery-3.3.1.min.js"
></script>
<script
type=
"text/javascript"
src=
"http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"
></script>
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity=
"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin=
"anonymous"
>
</script>
<script
src=
"https://unpkg.com/leaflet@1.5.1/dist/leaflet.js"
></script>
<script
src=
"../js/Leaflet.BeautifyIcon/leaflet-beautify-marker-icon.js"
></script>
<script
src=
"../js/L.VisualClick/L.VisualClick.js"
></script>
<script
src=
"https://api.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.3.1/leaflet-omnivore.min.js"
></script>
<script
src=
"https://unpkg.com/leaflet.vectorgrid@latest/dist/Leaflet.VectorGrid.bundled.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdn.rawgit.com/nezasa/iso8601-js-period/master/iso8601.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdn.rawgit.com/socib/Leaflet.TimeDimension/master/dist/leaflet.timedimension.min.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/chroma-js/2.0.3/chroma.min.js"
></script>
<script
src=
"https://d3js.org/d3.v5.min.js"
></script>
<script
src=
'https://api.tiles.mapbox.com/mapbox-gl-js/v1.1.0/mapbox-gl.js'
></script>
<script
src=
"https://unpkg.com/mapbox-gl-leaflet/leaflet-mapbox-gl.js"
></script>
<script
type=
"text/javascript"
src=
"../js/Leaflet.Sync.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.js"
></script>
<script
src=
"https://npmcdn.com/@turf/turf/turf.min.js"
></script>
<script
type=
"text/javascript"
src=
"../js/jszip.min.js"
></script>
<script
src=
"../js/grijalva_functions.js"
></script>
<script
src=
"../js/grijalva_basemap.js"
></script>
<script
src=
"../js/grijalva_charts.js"
></script>
<!--<script>
var map = new mapboxgl.Map({
'container': 'mapmex',
'zoom': 7,
'center': [-92.28, 17.22], // cuenca Grijalva
'style': {
'version': 8,
'sources': {
'carto-dark': {
'type': 'raster',
'tiles': [
"http://a.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png",
"http://b.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png",
"http://c.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png",
"http://d.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png"
]
}
},
'layers': [{
'id': 'carto-dark-layer',
'type': 'raster',
'source': 'carto-dark',
'minzoom': 0,
'maxzoom': 22
}]
}
});
map.addControl(new mapboxgl.NavigationControl());
map.on('load', function() {
map.addLayer({
id: 'abril_2018-tiles',
source: {
type: 'vector',
// "http://localhost:8090/data/" + monthYear + "/mvt/{z}/{x}/{y}?geom_column=geom&columns=" + indicators.join();
tiles: ['http://localhost:8090/data/abril_2018/mvt/{z}/{x}/{y}?geom_column=geom&columns=df'],
maxzoom: 14,
minzoom: 5
},
'source-layer': 'abril_2018',
type: 'fill',
minzoom: 5,
'paint': {
'fill-opacity': 0.7,
'fill-color': [
'interpolate',
['linear'],
['get', 'df'],
1, 'rgba(255, 0, 0, 0.5)', // red
1.3, 'rgba(0, 255, 0, 0.5)', // green
],
'fill-outline-color': [
'interpolate',
['linear'],
['get', 'df'],
1, 'rgba(255, 0, 0, 0.6)', // red
1.3, 'rgba(0, 255, 0, 0.6)', // green
]
}
})
})
</script>-->
<script
type=
"text/javascript"
src=
"http://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"
></script>
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity=
"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin=
"anonymous"
>
</script>
<script
src=
"https://unpkg.com/leaflet@1.5.1/dist/leaflet.js"
></script>
<script
src=
"../js/Leaflet.BeautifyIcon/leaflet-beautify-marker-icon.js"
></script>
<script
src=
"../js/L.VisualClick/L.VisualClick.js"
></script>
<script
src=
"https://api.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.3.1/leaflet-omnivore.min.js"
></script>
<script
src=
"https://unpkg.com/leaflet.vectorgrid@latest/dist/Leaflet.VectorGrid.bundled.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdn.rawgit.com/nezasa/iso8601-js-period/master/iso8601.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdn.rawgit.com/socib/Leaflet.TimeDimension/master/dist/leaflet.timedimension.min.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/chroma-js/2.0.3/chroma.min.js"
></script>
<script
src=
"https://d3js.org/d3.v5.min.js"
></script>
<script
src=
'https://api.tiles.mapbox.com/mapbox-gl-js/v1.1.0/mapbox-gl.js'
></script>
<script
src=
"https://unpkg.com/mapbox-gl-leaflet/leaflet-mapbox-gl.js"
></script>
<script
type=
"text/javascript"
src=
"../js/Leaflet.Sync.js"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.js"
></script>
<script
src=
"https://npmcdn.com/@turf/turf/turf.min.js"
></script>
<script
type=
"text/javascript"
src=
"../js/jszip.min.js"
></script>
<script
src=
"../js/grijalva_functions.js"
></script>
<script
src=
"../js/grijalva_basemap.js"
></script>
<script
src=
"../js/grijalva_charts.js"
></script>
</body>
</html>
\ No newline at end of file
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