ONOS-3353: Map for Continental US, Central America and South America.

Change-Id: I785c3d9b408d8d9fd032e681c31915096a3d58fb
This commit is contained in:
Simon Hunt 2015-12-03 09:17:47 -08:00
parent 4a527ed30c
commit ac099e80ef
2 changed files with 12 additions and 14 deletions

View File

@ -304,19 +304,9 @@
return c.properties.continent === 'South America';
},
america: function (c) {
var cenAmer = {
MEX: 1,
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' ||
ns_america: function (c) {
return c.properties.custom === 'US-cont' ||
c.properties.subregion === 'Central America' ||
c.properties.continent === 'South America';
},

File diff suppressed because one or more lines are too long