Select to view content in your preferred language

Open Street Map Rest endpoint

4314
2
Jump to solution
07-05-2013 09:34 AM
ChadHall
Emerging Contributor
I can't find where the coding is for this to make it the default street map in my config file; similar to what's below.  Any help?

            <layer type="tiled" label="Streets" icon="https://www.arcgis.com/sharing/rest/content/items/d8855ee4d3d74413babfb0f41203b168/info/thumbnail/te..." url="http://services.arcgisonline.com/ArcGIS/rest/services/Street_Map/MapServer" visible="true"/>
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
BjornSvensson
Esri Regular Contributor
It's not a REST endpoint, the layer type is "osm" as in :
<layer type="osm"      label="OpenStreetMap"      icon="assets/images/basemap_osm.jpg     visible="true"/>

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p...

See the OpenStreetMap sample on http://resources.arcgis.com/en/help/flex-viewer/samples/

View solution in original post

0 Kudos
2 Replies
BjornSvensson
Esri Regular Contributor
It's not a REST endpoint, the layer type is "osm" as in :
<layer type="osm"      label="OpenStreetMap"      icon="assets/images/basemap_osm.jpg     visible="true"/>

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p...

See the OpenStreetMap sample on http://resources.arcgis.com/en/help/flex-viewer/samples/
0 Kudos
ChadHall
Emerging Contributor
Perfect Bjorn, thanks!!
0 Kudos