mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-14 17:01:02 +02:00
ONOS-3353: Map for Continental US, Central America and South America.
Change-Id: I785c3d9b408d8d9fd032e681c31915096a3d58fb
This commit is contained in:
parent
4a527ed30c
commit
ac099e80ef
@ -304,19 +304,9 @@
|
|||||||
return c.properties.continent === 'South America';
|
return c.properties.continent === 'South America';
|
||||||
},
|
},
|
||||||
|
|
||||||
america: function (c) {
|
ns_america: function (c) {
|
||||||
var cenAmer = {
|
return c.properties.custom === 'US-cont' ||
|
||||||
MEX: 1,
|
c.properties.subregion === 'Central America' ||
|
||||||
GTM: 1,
|
|
||||||
BLZ: 1,
|
|
||||||
HND: 1,
|
|
||||||
SLV: 1,
|
|
||||||
NIC: 1,
|
|
||||||
CRI: 1,
|
|
||||||
PAN: 1
|
|
||||||
};
|
|
||||||
return cenAmer[c.properties.adm0_a3] ||
|
|
||||||
c.properties.adm0_a3 === 'USA' ||
|
|
||||||
c.properties.continent === 'South America';
|
c.properties.continent === 'South America';
|
||||||
},
|
},
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user