Simon Hunt

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

Change-Id: I785c3d9b408d8d9fd032e681c31915096a3d58fb
...@@ -304,19 +304,9 @@ ...@@ -304,19 +304,9 @@
304 return c.properties.continent === 'South America'; 304 return c.properties.continent === 'South America';
305 }, 305 },
306 306
307 - america: function (c) { 307 + ns_america: function (c) {
308 - var cenAmer = { 308 + return c.properties.custom === 'US-cont' ||
309 - MEX: 1, 309 + c.properties.subregion === 'Central America' ||
310 - GTM: 1,
311 - BLZ: 1,
312 - HND: 1,
313 - SLV: 1,
314 - NIC: 1,
315 - CRI: 1,
316 - PAN: 1
317 - };
318 - return cenAmer[c.properties.adm0_a3] ||
319 - c.properties.adm0_a3 === 'USA' ||
320 c.properties.continent === 'South America'; 310 c.properties.continent === 'South America';
321 }, 311 },
322 312
......
This diff could not be displayed because it is too large.