<?xml version="1.0" encoding="utf-8"?> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:esri="http://www.esri.com/2008/ags" title="Directions"> <fx:Script> <![CDATA[ import com.esri.ags.SpatialReference; import com.esri.ags.components; ]]> </fx:Script> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <s:HGroup width="100%" height="100%"> <s:HGroup width="20%" height="100%"> <esri:Directions width="320" height="100%" map="{map}" url="http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/NAServer/Route"/> </s:HGroup> <s:HGroup height="100%" width="80%"> <esri:Map id="map"> <esri:extent> <esri:Extent xmax="-12933403.6076138" xmin="-13111592.8608571" ymax="3962427.46398672" ymin="3828540.75859643" > <esri:SpatialReference wkid="3857" /> </esri:Extent> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/> <esri:GraphicsLayer id="addressGL"/> </esri:Map> </s:HGroup> </s:HGroup> </s:View>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.