Add OpenStreetMap as a basemap layer.
OpenStreetMap is a free community-edited basemap.
When the sample opens, it will automatically display the map with the OpenStreetMap basemap. Pan and zoom to observe the basemap.
- Create a basemap wwith a
BasemapStyle.OSMStandard
basemap style. - Create a map with that basemap.
- Show the map in a map view.
- Basemap
- Basemap.CreateOpenStreetMap
- Map
- MapView
- OpenStreetMapLayer
The attribution text will be set to the required OpenStreetMap attribution automatically.
Apps that expect to make many requests to OpenStreetMap should consider using an alternative tile server via the WebTiledLayer
class.
Esri now hosts an OpenStreetMap vector layer on ArcGIS Online that uses recent OpenStreetMap data in conjunction with a style matching the default OpenStreetMap style. This layer is not subject to the tile access restrictions that apply to tiles fetched from OpenStreetMap.org.
basemap, layers, map, open, OpenStreetMap, OSM, street