GUI - Added bay area topojson.
Change-Id: I19e103e09e48a09900240b671b05ceba4970c058
Showing
2 changed files
with
3 additions
and
1 deletions
... | @@ -357,12 +357,14 @@ | ... | @@ -357,12 +357,14 @@ |
357 | mapG = zoomLayer.append('g').attr('id', 'topo-map'); | 357 | mapG = zoomLayer.append('g').attr('id', 'topo-map'); |
358 | if (mapId === 'usa') { | 358 | if (mapId === 'usa') { |
359 | promise = ms.loadMapInto(mapG, '*continental_us'); | 359 | promise = ms.loadMapInto(mapG, '*continental_us'); |
360 | + } else if (mapId === 'bayarea') { | ||
361 | + promise = ms.loadMapInto(mapG, '*bayarea', {objectTag: 'bayareaGEO'}); | ||
360 | } else { | 362 | } else { |
361 | - ps.setPrefs('topo_mapid', {id:mapId}); | ||
362 | cfilter = countryFilters[mapId] || countryFilters.world; | 363 | cfilter = countryFilters[mapId] || countryFilters.world; |
363 | opts = { countryFilter: cfilter }; | 364 | opts = { countryFilter: cfilter }; |
364 | promise = ms.loadMapRegionInto(mapG, opts); | 365 | promise = ms.loadMapRegionInto(mapG, opts); |
365 | } | 366 | } |
367 | + ps.setPrefs('topo_mapid', {id:mapId}); | ||
366 | return promise; | 368 | return promise; |
367 | } | 369 | } |
368 | 370 | ... | ... |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment