Skip to content

Commit d69b85c

Browse files
committed
User basemap v2 styles
1 parent 1f2c238 commit d69b85c

File tree

2 files changed

+55
-27
lines changed

2 files changed

+55
-27
lines changed

arcgis_map_sdk_platform_interface/lib/src/models/basemap.dart

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,34 @@ enum BaseMap {
66
arcgisDarkGray,
77
arcgisNavigation,
88
arcgisNavigationNight,
9+
arcgisOutdoor,
910
arcgisStreets,
1011
arcgisStreetsNight,
1112
arcgisStreetsRelief,
1213
arcgisTopographic,
14+
arcgisTopographicBase,
1315
arcgisOceans,
16+
arcgisOceansBase,
17+
arcgisOceansLabels,
1418
osmStandard,
1519
osmStandardRelief,
20+
osmStandardReliefBase,
21+
osmNavigation,
22+
osmNavigationDark,
23+
osmStreetsReliefBase,
24+
osmHybrid,
1625
osmStreets,
26+
osmDarkGrayBase,
27+
arcgisTerrainBase,
28+
arcgisTerrainDetail,
1729
osmStreetsRelief,
1830
osmLightGray,
1931
osmDarkGray,
2032
arcgisTerrain,
2133
arcgisCommunity,
2234
arcgisChartedTerritory,
35+
arcgisChartedTerritoryBase,
36+
arcgisStreetsReliefBase,
2337
arcgisColoredPencil,
2438
arcgisNova,
2539
arcgisModernAntique,

arcgis_map_sdk_web/lib/src/model_extension.dart

Lines changed: 41 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -191,34 +191,48 @@ extension on LineSymbolMarker {
191191

192192
extension BaseMapExt on BaseMap {
193193
static const Map<BaseMap, String> values = {
194-
BaseMap.arcgisImagery: 'arcgis-imagery',
195-
BaseMap.arcgisImageryStandard: 'arcgis-imagery-standard',
196-
BaseMap.arcgisImageryLabels: 'arcgis-imagery-labels',
197-
BaseMap.arcgisLightGray: 'arcgis-light-gray',
198-
BaseMap.arcgisDarkGray: 'arcgis-dark-gray',
199-
BaseMap.arcgisNavigation: 'arcgis-navigation',
200-
BaseMap.arcgisNavigationNight: 'arcgis-navigation-night',
201-
BaseMap.arcgisStreets: 'arcgis-streets',
202-
BaseMap.arcgisStreetsNight: 'arcgis-streets-night',
203-
BaseMap.arcgisStreetsRelief: 'arcgis-streets-relief',
204-
BaseMap.arcgisTopographic: 'arcgis-topographic',
205-
BaseMap.arcgisOceans: 'arcgis-oceans',
206-
BaseMap.osmStandard: 'osm-standard',
207-
BaseMap.osmStandardRelief: 'osm-standard-relief',
208-
BaseMap.osmStreets: 'osm-streets',
209-
BaseMap.osmStreetsRelief: 'osm-streets-relief',
210-
BaseMap.osmLightGray: 'osm-light-gray',
211-
BaseMap.osmDarkGray: 'osm-dark-gray',
212-
BaseMap.arcgisTerrain: 'arcgis-terrain',
213-
BaseMap.arcgisCommunity: 'arcgis-community',
214-
BaseMap.arcgisChartedTerritory: 'arcgis-charted-territory',
215-
BaseMap.arcgisColoredPencil: 'arcgis-colored-pencil',
216-
BaseMap.arcgisNova: 'arcgis-nova',
194+
BaseMap.arcgisImagery: 'arcgis/imagery',
195+
BaseMap.arcgisImageryStandard: 'arcgis/imagery/standard',
196+
BaseMap.arcgisImageryLabels: 'arcgis/imagery/labels',
197+
BaseMap.arcgisLightGray: 'arcgis/light-gray',
198+
BaseMap.arcgisDarkGray: 'arcgis/dark-gray',
199+
BaseMap.arcgisNavigation: 'arcgis/navigation',
200+
BaseMap.arcgisNavigationNight: 'arcgis/navigation-night',
201+
BaseMap.arcgisStreets: 'arcgis/streets',
202+
BaseMap.arcgisStreetsNight: 'arcgis/streets-night',
203+
BaseMap.arcgisStreetsRelief: 'arcgis/streets-relief',
204+
BaseMap.arcgisStreetsReliefBase: 'arcgis/streets-relief-base',
205+
BaseMap.arcgisOutdoor: 'arcgis/outdoor',
206+
BaseMap.arcgisTopographic: 'arcgis/topographic',
207+
BaseMap.arcgisTopographicBase: 'arcgis/topographic/base',
208+
BaseMap.arcgisOceans: 'arcgis/oceans',
209+
BaseMap.arcgisOceansBase: 'arcgis/oceans/base',
210+
BaseMap.arcgisOceansLabels: 'arcgis/oceans/labels',
211+
BaseMap.osmStandard: 'osm/standard',
212+
BaseMap.osmStandardRelief: 'osm/standard-relief',
213+
BaseMap.osmStandardReliefBase: 'osm/standard-relief/base',
214+
BaseMap.osmNavigation: 'osm/navigation',
215+
BaseMap.osmNavigationDark: 'osm/navigation-dark',
216+
BaseMap.osmStreets: 'osm/streets',
217+
BaseMap.osmStreetsRelief: 'osm/streets-relief',
218+
BaseMap.osmStreetsReliefBase: 'osm/streets-relief/base',
219+
BaseMap.osmLightGray: 'osm/light-gray',
220+
BaseMap.osmHybrid: 'osm/hybrid',
221+
BaseMap.osmDarkGray: 'osm/dark-gray',
222+
BaseMap.osmDarkGrayBase: 'osm/dark-gray/base',
223+
BaseMap.arcgisTerrain: 'arcgis/terrain',
224+
BaseMap.arcgisTerrainBase: 'arcgis/terrain/base',
225+
BaseMap.arcgisTerrainDetail: 'arcgis/terrain/detail',
226+
BaseMap.arcgisCommunity: 'arcgis/community',
227+
BaseMap.arcgisChartedTerritory: 'arcgis/charted-territory',
228+
BaseMap.arcgisChartedTerritoryBase: 'arcgis/charted-territory-base',
229+
BaseMap.arcgisColoredPencil: 'arcgis/colored-pencil',
230+
BaseMap.arcgisNova: 'arcgis/nova',
217231
BaseMap.arcgisModernAntique: 'arcgis-modern-antique',
218-
BaseMap.arcgisMidcentury: 'arcgis-midcentury',
219-
BaseMap.arcgisNewspaper: 'arcgis-newspaper',
220-
BaseMap.arcgisHillshadeLight: 'arcgis-hillshade-light',
221-
BaseMap.arcgisHillshadeDark: 'arcgis-hillshade-dark',
232+
BaseMap.arcgisMidcentury: 'arcgis/midcentury',
233+
BaseMap.arcgisNewspaper: 'arcgis/newspaper',
234+
BaseMap.arcgisHillshadeLight: 'arcgis/hillshade-light',
235+
BaseMap.arcgisHillshadeDark: 'arcgis/hillshade-dark',
222236
BaseMap.nationalGepgraphic: 'national-geographic',
223237
BaseMap.streetsNavigationVector: 'streets-navigation-vector',
224238
BaseMap.darkGrayVector: 'dark-gray-vector',

0 commit comments

Comments
 (0)