Skip To Content

OpenStreetMap

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:esri="http://www.esri.com/2008/ags"
               pageTitle="Using OpenStreetMap with ArcGIS API for Flex">
    <!--
    Description:
    This sample demonstrates how to use OpenStreetMap as a layer
    in your ArcGIS API for Flex application.

    Documentation:
    For more information, see the API documentation.
    https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/Map.html
    https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/layers/OpenStreetMapLayer.html

    http://resources.arcgis.com/en/help/flex-api/concepts/index.html#/Types_of_layers/017p00000027000000/
    -->

    <s:controlBarContent>
        <s:RichText width="100%">
            This sample demonstrates how to use OpenStreetMap as a layer
            in your ArcGIS API for Flex application.
        </s:RichText>
    </s:controlBarContent>

    <esri:Map logoVisible="false" wrapAround180="true">
        <esri:OpenStreetMapLayer/>
    </esri:Map>

</s:Application>