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
f7f60467
Commit
f7f60467
authored
Sep 06, 2019
by
Tania Gómez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change _feature to feature on escuelas & supermercados layers
parent
319b9476
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
129 additions
and
133 deletions
+129
-133
riesgos_basemap.js
public/fordecyt_2019/js/riesgos_basemap.js
+129
-133
No files found.
public/fordecyt_2019/js/riesgos_basemap.js
View file @
f7f60467
...
@@ -259,7 +259,7 @@ let layer_supermercados = new L.geoJson(null, {
...
@@ -259,7 +259,7 @@ let layer_supermercados = new L.geoJson(null, {
attribution
:
""
,
attribution
:
""
,
pane
:
"pane_supermercados"
,
pane
:
"pane_supermercados"
,
//onEachFeature: pop_escuelas,
//onEachFeature: pop_escuelas,
pointToLayer
:
(
_
feature
,
latlng
)
=>
{
pointToLayer
:
(
feature
,
latlng
)
=>
{
// let context = {
// let context = {
// feature: feature,
// feature: feature,
// variables: {}
// variables: {}
...
@@ -315,7 +315,7 @@ let layer_escuelas = new L.geoJson(null, {
...
@@ -315,7 +315,7 @@ let layer_escuelas = new L.geoJson(null, {
attribution
:
""
,
attribution
:
""
,
pane
:
"pane_escuelas"
,
pane
:
"pane_escuelas"
,
//onEachFeature: pop_escuelas,
//onEachFeature: pop_escuelas,
pointToLayer
:
(
_
feature
,
latlng
)
=>
{
pointToLayer
:
(
feature
,
latlng
)
=>
{
// let context = {
// let context = {
// feature: feature,
// feature: feature,
// variables: {}
// variables: {}
...
@@ -535,15 +535,13 @@ let layer_agricolapv = {
...
@@ -535,15 +535,13 @@ let layer_agricolapv = {
paint
:
{
paint
:
{
"fill-opacity"
:
0
,
"fill-opacity"
:
0
,
"fill-color"
:
[
"fill-color"
:
[
"match"
,
"match"
,
[
"get"
,
"cultivo"
],
[
"get"
,
"cultivo"
],
"Sorgo grano"
,
"#ff5500"
,
"Sorgo grano"
,
"#ff5500"
,
"Frijol"
,
"#8e1973"
,
"Frijol"
,
"#8e1973"
,
"#d1ff73"
"#d1ff73"
],
],
"fill-outline-color"
:
[
"fill-outline-color"
:
[
"match"
,
"match"
,
[
"get"
,
"cultivo"
],
[
"get"
,
"cultivo"
],
"Sorgo grano"
,
"#e60000"
,
"Sorgo grano"
,
"#e60000"
,
"Frijol"
,
"#a80084"
,
"Frijol"
,
"#a80084"
,
"#aaff00"
"#aaff00"
...
@@ -564,15 +562,13 @@ let layer_agricolaoi = {
...
@@ -564,15 +562,13 @@ let layer_agricolaoi = {
paint
:
{
paint
:
{
"fill-opacity"
:
0
,
"fill-opacity"
:
0
,
"fill-color"
:
[
"fill-color"
:
[
"match"
,
"match"
,
[
"get"
,
"cultivo"
],
[
"get"
,
"cultivo"
],
"Sorgo grano"
,
"#ff5500"
,
"Sorgo grano"
,
"#ff5500"
,
"Frijol"
,
"#8e1973"
,
"Frijol"
,
"#8e1973"
,
"#d1ff73"
"#d1ff73"
],
],
"fill-outline-color"
:
[
"fill-outline-color"
:
[
"match"
,
"match"
,
[
"get"
,
"cultivo"
],
[
"get"
,
"cultivo"
],
"Sorgo grano"
,
"#e60000"
,
"Sorgo grano"
,
"#e60000"
,
"Frijol"
,
"#a80084"
,
"Frijol"
,
"#a80084"
,
"#aaff00"
"#aaff00"
...
...
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