Skip to content

Commit

Permalink
AUS-4296 Remove OpenStreetMap
Browse files Browse the repository at this point in the history
- OpenStreetMap does not work with Chrome and Edge
  • Loading branch information
vjf committed Dec 9, 2024
1 parent 36e9253 commit 15f69cc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/environments/environment.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export const environment = {
{ value: 'World_Imagery', viewValue: 'ESRI World Imagery', tooltip: 'ESRI World Imagery', layerType: 'ESRI' },
{ value: 'NatGeo_World_Map', viewValue: 'ESRI National Geographic Map', tooltip: 'ESRI National Geographic Map', layerType: 'ESRI' },
{ value: 'World_Street_Map', viewValue: 'ESRI Street Map', tooltip: 'ESRI Street Map', layerType: 'ESRI' },
{ value: 'OSM', viewValue: 'OpenStreetMap', tooltip: 'OpenStreetMap (OSM) is a collaborative project to create a free editable\n' +
'map of the world.\nhttp://www.openstreetmap.org', layerType: 'OSM' },
// OSM does not work with Chrome and Edge (See AUS-4296)
//{ value: 'OSM', viewValue: 'OpenStreetMap', tooltip: 'OpenStreetMap (OSM) is a collaborative project to create a free editable\n' +
// 'map of the world.\nhttp://www.openstreetmap.org', layerType: 'OSM' },
{ value: 'Road', viewValue: 'Bing Roads', tooltip: 'Bing Maps Road', layerType: 'Bing' },
{ value: 'Aerial', viewValue: 'Bing Aerial', tooltip: 'Bing Maps Aerial', layerType: 'Bing' },
{ value: 'AerialWithLabels', viewValue: 'Bing Aerial With Labels', tooltip: 'Bing Maps Aerial with Labels', layerType: 'Bing' },
Expand Down
5 changes: 3 additions & 2 deletions src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export const environment = {
{ value: 'World_Imagery', viewValue: 'ESRI World Imagery', tooltip: 'ESRI World Imagery', layerType: 'ESRI' },
{ value: 'NatGeo_World_Map', viewValue: 'ESRI National Geographic Map', tooltip: 'ESRI National Geographic Map', layerType: 'ESRI' },
{ value: 'World_Street_Map', viewValue: 'ESRI Street Map', tooltip: 'ESRI Street Map', layerType: 'ESRI' },
{ value: 'OSM', viewValue: 'OpenStreetMap', tooltip: 'OpenStreetMap (OSM) is a collaborative project to create a free editable\n' +
'map of the world.\nhttp://www.openstreetmap.org', layerType: 'OSM' },
// OSM does not work with Chrome and Edge (See AUS-4296)
//{ value: 'OSM', viewValue: 'OpenStreetMap', tooltip: 'OpenStreetMap (OSM) is a collaborative project to create a free editable\n' +
// 'map of the world.\nhttp://www.openstreetmap.org', layerType: 'OSM' },
{ value: 'Road', viewValue: 'Bing Roads', tooltip: 'Bing Maps Road', layerType: 'Bing' },
{ value: 'Aerial', viewValue: 'Bing Aerial', tooltip: 'Bing Maps Aerial', layerType: 'Bing' },
{ value: 'AerialWithLabels', viewValue: 'Bing Aerial With Labels', tooltip: 'Bing Maps Aerial with Labels', layerType: 'Bing' },
Expand Down
5 changes: 3 additions & 2 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ export const environment = {
{ value: 'World_Imagery', viewValue: 'ESRI World Imagery', tooltip: 'ESRI World Imagery', layerType: 'ESRI' },
{ value: 'NatGeo_World_Map', viewValue: 'ESRI National Geographic Map', tooltip: 'ESRI National Geographic Map', layerType: 'ESRI' },
{ value: 'World_Street_Map', viewValue: 'ESRI Street Map', tooltip: 'ESRI Street Map', layerType: 'ESRI' },
{ value: 'OSM', viewValue: 'OpenStreetMap', tooltip: 'OpenStreetMap (OSM) is a collaborative project to create a free editable\n' +
'map of the world.\nhttp://www.openstreetmap.org', layerType: 'OSM' },
// OSM does not work with Chrome and Edge (See AUS-4296)
//{ value: 'OSM', viewValue: 'OpenStreetMap', tooltip: 'OpenStreetMap (OSM) is a collaborative project to create a free editable\n' +
// 'map of the world.\nhttp://www.openstreetmap.org', layerType: 'OSM' },
// Bing maps will only be available if the bingMapsKey property is set
{ value: 'Road', viewValue: 'Bing Roads', tooltip: 'Bing Maps Road', layerType: 'Bing' },
{ value: 'Aerial', viewValue: 'Bing Aerial', tooltip: 'Bing Maps Aerial', layerType: 'Bing' },
Expand Down

0 comments on commit 15f69cc

Please sign in to comment.