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
463aec67
Commit
463aec67
authored
Sep 25, 2019
by
Tania Gómez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix an error on centros POIC
parent
22711f37
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
centropais_basemap.js
public/fordecyt_2019/js/centropais_basemap.js
+2
-2
No files found.
public/fordecyt_2019/js/centropais_basemap.js
View file @
463aec67
...
...
@@ -791,7 +791,7 @@ const style_centrosPOIC = feature => {
weight
:
0.5
,
//1.0,
fill
:
true
,
fillOpacity
:
.
4
,
fillColor
:
getCentrosColor
(
feature
.
properties
[
'
OCUPADOS
'
]),
fillColor
:
getCentrosColor
(
feature
.
properties
[
'
POIC
'
]),
//fillPattern: "stripes"
}
}
...
...
@@ -942,7 +942,7 @@ const makeBaseMap = () => {
zip2Lyr
(
"../centropais/data/desde.zip"
,
desde
,
layer_desde
);
layerControl
.
addOverlay
(
layer_desde
,
"Número de ocupados <br /> <svg height=
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#ffebbf
\"
stroke=
\"
#6e6e6e
\"
stroke-dasharray=
\"
\"
></rect></svg> Menos de 1000<br /> <svg height=
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#ffaa00
\"
stroke =
\"
#6e6e6e
\"
stroke-dasharray=
\"
\"
></rect></svg> 1001 - 2000<br/> <svg height =
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#fc7f44
\"
stroke =
\"
#6e6e6e
\"
stroke-dasharray=
\"
\"
></rect></svg> 2001- 6000 <br/> <svg height =
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#b30000
\"
stroke =
\"
#6e6e6e
\"
stroke-dasharray=
\"
\"
></rect></svg> 6001 - 7200"
);
zip2Lyr
(
"../centropais/data/centros_de_mercado_POIC.zip"
,
centrosPOIC
,
layer_centrosPOIC
);
layerControl
.
addOverlay
(
layer_centrosPOIC
,
"Centros de mercado <br /> <svg height=
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#d1ff73
\"
stroke=
\"
#aaff00
\"
stroke-dasharray=
\"
\"
></rect></svg> Terciario<br /> <svg height=
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#8e1973
\"
stroke =
\"
#a80084
\"
stroke-dasharray=
\"
\"
></rect></svg> Secundario<br/> <svg height =
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#ff5500
\"
stroke =
\"
#e60000
\"
stroke-dasharray=
\"
\"
></rect></svg> Primario"
);
layerControl
.
addOverlay
(
layer_centrosPOIC
,
"Centros de mercado
POIC
<br /> <svg height=
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#d1ff73
\"
stroke=
\"
#aaff00
\"
stroke-dasharray=
\"
\"
></rect></svg> Terciario<br /> <svg height=
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#8e1973
\"
stroke =
\"
#a80084
\"
stroke-dasharray=
\"
\"
></rect></svg> Secundario<br/> <svg height =
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#ff5500
\"
stroke =
\"
#e60000
\"
stroke-dasharray=
\"
\"
></rect></svg> Primario"
);
zip2Lyr
(
"../centropais/data/hacia_POIC.zip"
,
haciaPOIC
,
layer_haciaPOIC
);
layerControl
.
addOverlay
(
layer_haciaPOIC
,
"Número de viajes <br /> <svg height=
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#e3fcd9
\"
stroke=
\"
#6e6e6e
\"
stroke-dasharray=
\"
\"
></rect></svg> Menos de 500<br /> <svg height=
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#b4d787
\"
stroke =
\"
#6e6e6e
\"
stroke-dasharray=
\"
\"
></rect></svg> 501 - 1000<br/> <svg height =
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#4bc44f
\"
stroke =
\"
#6e6e6e
\"
stroke-dasharray=
\"
\"
></rect></svg> 1001 - 2000 <br/> <svg height =
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#218542
\"
stroke =
\"
#6e6e6e
\"
stroke-dasharray=
\"
\"
></rect></svg> 2001 - 4000 <br/> <svg height =
\"
15
\"
width=
\"
15
\"
><path d=
\"
M0 0 L15 0 L15 10 L0 10 Z
\"
x=
\"
5
\"
y=
\"
5
\"
fill=
\"
#00451c
\"
stroke =
\"
#6e6e6e
\"
stroke-dasharray=
\"
\"
></rect></svg> 4001 - 10612"
);
zip2Lyr
(
"../centropais/data/desde_POIC.zip"
,
desdePOIC
,
layer_desdePOIC
);
...
...
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