Commit f7f60467 authored by Tania Gómez's avatar Tania Gómez

change _feature to feature on escuelas & supermercados layers

parent 319b9476
......@@ -259,7 +259,7 @@ let layer_supermercados = new L.geoJson(null, {
attribution: "",
pane: "pane_supermercados",
//onEachFeature: pop_escuelas,
pointToLayer: (_feature, latlng) => {
pointToLayer: (feature, latlng) => {
// let context = {
// feature: feature,
// variables: {}
......@@ -315,7 +315,7 @@ let layer_escuelas = new L.geoJson(null, {
attribution: "",
pane: "pane_escuelas",
//onEachFeature: pop_escuelas,
pointToLayer: (_feature, latlng) => {
pointToLayer: (feature, latlng) => {
// let context = {
// feature: feature,
// variables: {}
......@@ -535,15 +535,13 @@ let layer_agricolapv = {
paint: {
"fill-opacity": 0,
"fill-color": [
"match",
["get", "cultivo"],
"match", ["get", "cultivo"],
"Sorgo grano", "#ff5500",
"Frijol", "#8e1973",
"#d1ff73"
],
"fill-outline-color": [
"match",
["get", "cultivo"],
"match", ["get", "cultivo"],
"Sorgo grano", "#e60000",
"Frijol", "#a80084",
"#aaff00"
......@@ -564,15 +562,13 @@ let layer_agricolaoi = {
paint: {
"fill-opacity": 0,
"fill-color": [
"match",
["get", "cultivo"],
"match", ["get", "cultivo"],
"Sorgo grano", "#ff5500",
"Frijol", "#8e1973",
"#d1ff73"
],
"fill-outline-color": [
"match",
["get", "cultivo"],
"match", ["get", "cultivo"],
"Sorgo grano", "#e60000",
"Frijol", "#a80084",
"#aaff00"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment