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
7423d8cc
Commit
7423d8cc
authored
Sep 12, 2019
by
Tania Gómez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit styles
parent
f1f418e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
centropais_basemap.js
public/fordecyt_2019/js/centropais_basemap.js
+16
-16
No files found.
public/fordecyt_2019/js/centropais_basemap.js
View file @
7423d8cc
...
@@ -106,23 +106,23 @@ const getCentrosColor = s => {
...
@@ -106,23 +106,23 @@ const getCentrosColor = s => {
// s == "Frijol" ? "#a80084" :
// s == "Frijol" ? "#a80084" :
// "#aaff00"; //;
// "#aaff00"; //;
// }
// }
const
getPoblacionColor
=
s
=>
{
//
const getPoblacionColor = s => {
return
s
>
6000
?
"#6b0601"
:
//
return s > 6000 ? "#6b0601" :
s
>
4000
?
"#9e4410"
:
//
s > 4000 ? "#9e4410" :
s
>
2500
?
"#d68522"
:
//
s > 2500 ? "#d68522" :
s
>
1000
?
"#f7ba3e"
:
//
s > 1000 ? "#f7ba3e" :
s
>
0
?
"#fcdd5d"
:
//
s > 0 ? "#fcdd5d" :
"#ffffff"
;
//
"#ffffff";
}
//
}
const
getDensidadColor
=
s
=>
{
//
const getDensidadColor = s => {
return
s
>
16000
?
"#633096"
:
//
return s > 16000 ? "#633096" :
s
>
11500
?
"#8c6fbd"
:
//
s > 11500 ? "#8c6fbd" :
s
>
7000
?
"#a6a2eb"
:
//
s > 7000 ? "#a6a2eb" :
s
>
2400
?
"#d2d3fa"
:
//
s > 2400 ? "#d2d3fa" :
s
>
0
?
"#f1f0fc"
:
//
s > 0 ? "#f1f0fc" :
"#ffffff"
;
//
"#ffffff";
}
//
}
const
getHaciaColor
=
s
=>
{
const
getHaciaColor
=
s
=>
{
return
s
>
32000
?
"#00451c"
:
return
s
>
32000
?
"#00451c"
:
...
...
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