<map wraparound180="true" fullextent="-20000000 -20000000 20000000 20000000" top="40" addarcgisbasemaps="true"> <basemaps> <layer type="tiled" label="Imagery" icon="https://www.arcgis.com/sharing/rest/content/items/86de95d4e0244cba80f0fa2c9403a7b2/info/thumbnail/tempimagery.jpg" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" visible="true"/> <layer type="tiled" label="Imagery with Labels" icon="https://www.arcgis.com/sharing/rest/content/items/413fd05bbd7342f5991d5ec96f4f8b18/info/thumbnail/tempimagery_with_labels_ne_usa.png" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" visible="false"/> <layer type="tiled" label="Imagery with Labels" url="http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer" visible="false" reference="true"/> <layer type="tiled" label="Streets" icon="https://www.arcgis.com/sharing/rest/content/items/d8855ee4d3d74413babfb0f41203b168/info/thumbnail/tempstreets.jpg" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" visible="false"/> <layer type="tiled" label="Topographic" icon="https://www.arcgis.com/sharing/rest/content/items/6e03e8c26aad4b9c92a87c1063ddb0e3/info/thumbnail/temptopographic.jpg" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" visible="false"/> <layer type="tiled" label="Terrain with Labels" icon="https://www.arcgis.com/sharing/rest/content/items/aab054ab883c4a4094c72e949566ad40/info/thumbnail/tempTerrain_with_labels_ne_usa.png" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer" visible="false"/> <layer type="tiled" label="Terrain with Labels" url="http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer" visible="false" reference="true"/> <layer type="tiled" label="Light Gray Canvas" icon="https://www.arcgis.com/sharing/rest/content/items/8b3b470883a744aeb60e5fff0a319ce7/info/thumbnail/templight_gray_canvas_with_labels__ne_usa.png" url="http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer" visible="false"/> <layer type="tiled" label="Light Gray Canvas" url="http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer" visible="false" reference="true"/> <layer type="tiled" label="National Geographic" icon="https://www.arcgis.com/sharing/rest/content/items/509e2d6b034246d692a461724ae2d62c/info/thumbnail/natgeo.jpg" url="http://services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer" visible="false"/> <layer type="tiled" label="Oceans" icon="https://www.arcgis.com/sharing/rest/content/items/48b8cec7ebf04b5fbdcaf70d09daff21/info/thumbnail/tempoceans.jpg" url="http://services.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer" visible="false"/> <layer type="osm" label="OpenStreetMap" icon="https://www.arcgis.com/sharing/rest/content/items/5d2bfa736f8448b3a1708e1f6be23eed/info/thumbnail/temposm.jpg" visible="false"/> </basemaps> <operationallayers> <layer label="GDE" type="dynamic" visible="false" alpha="1.0" url="http://********/ArcGIS/rest/services/Applications/NVOR_GDE/MapServer"> <sublayer id="1" popupconfig="popups/PopUp_NWE_Struct_Elements.xml"/> <sublayer id="2" popupconfig="popups/PopUp_NAF_Struct_Elements.xml"/> <sublayer id="3" popupconfig="popups/PopUp_WAF_Struct_Elements.xml"/> <sublayer id="5" popupconfig="popups/PopUp_SE_Algeria_GDE_Struct.xml"/> <sublayer id="6" popupconfig="popups/PopUp_SE_Algeria_GDE_Drain_sys.xml"/> <sublayer id="7" popupconfig="popups/PopUp_SE_Algeria_GDE_Sed_Input_Flowdir.xml"/> <sublayer id="8" popupconfig="popups/PopUp_SE_Algeria_GDE_Outcrop.xml"/> <sublayer id="9" popupconfig="popups/PopUp_SE_Algeria_GDE_Depo.xml"/> <sublayer id="11" popupconfig="popups/PopUp_NAF_Struct.xml"/> <sublayer id="12" popupconfig="popups/PopUp_NAF_Isopach.xml"/> <sublayer id="13" popupconfig="popups/PopUp_NAF_Depo_Boundary.xml"/> <sublayer id="14" popupconfig="popups/PopUp_NAF_Depo.xml"/> <sublayer id="16" popupconfig="popups/PopUp_NAF_Paleo_Struct.xml"/> <sublayer id="17" popupconfig="popups/PopUp_NAF_Paleo_Subcrop_Boundary.xml"/> <sublayer id="18" popupconfig="popups/PopUp_NAF_Paleo_Subcrop.xml"/> <sublayer id="20" popupconfig="popups/PopUp_WAF_GDE_Depo.xml"/> </layer> <layer label="Play Risk" type="dynamic" visible="false" url="http://********/ArcGIS/rest/services/Applications/NVOR_PlayRisk/MapServer"> <sublayer id="0" popupconfig="popups/PopUp_PlayRisk.xml"/> </layer> <layer label="General Layers" type="dynamic" visible="true" url="http://********/ArcGIS/rest/services/Applications/NVOR/MapServer"> <sublayer id="0" popupconfig="popups/PopUp_Wells.xml"/> <sublayer id="1" popupconfig="popups/PopUp_Hess_Basins.xml"/> <sublayer id="2" popupconfig="popups/PopUp_IHS_Fields.xml"/> <sublayer id="3" popupconfig="popups/PopUp_Woodmac_Fields.xml"/> <sublayer id="4" popupconfig="popups/PopUp_Hess_Leases.xml"/> <sublayer id="5" popupconfig="popups/PopUp_IHS_Leases.xml"/> </layer> <layer label="Lease Opportunities" type="feature" visible="true" alpha="0.5" info="widgets/InfoTemplates/AttRelateInfoWinWidget.swf" infoconfig="widgets/InfoTemplates/IWT_LeaseOpps.xml" url="http://********/ArcGIS/rest/services/Applications/NVOR_Edit/FeatureServer/0"> </layer> <layer label="PF Maps" type="feature" visible="true" alpha="0.5" info="widgets/InfoTemplates/AttRelateInfoWinWidget.swf" infoconfig="widgets/InfoTemplates/IWT_PFMapping.xml" url="http://********/ArcGIS/rest/services/Applications/NVO_Edit/FeatureServer/0"> </layer> </operationallayers> </map>
private function infoReady(event:AppEvent):void { var id:String = event.data.id as String; var isOperationLayer:Boolean = event.data.isOptLayer; if (m_operationalLayerIndex >= m_operationalLayers.length){ m_operationalLayerIndex--; } var label:String = isOperationLayer ? m_operationalLayers[m_operationalLayerIndex].label : m_basemapLayers[m_basemapLayerIndex].label; if (id == label) { infoTemplate = event.data.infoWidget; var baseWidget:IBaseWidget = infoTemplate as IBaseWidget; var infoConfigXML:XML = baseWidget.configXML; infoRender = new ClassFactory(infoTemplate.infoClass); infoRender.properties = { infoConfig: infoConfigXML, map: map }; if (isOperationLayer) { m_operationalLayers[m_operationalLayerIndex].layer.infoWindowRenderer = infoRender; } else { m_basemapLayers[m_basemapLayerIndex].layer.infoWindowRenderer = infoRender; } loadNextOperationalOrBasemapLayer(isOperationLayer); } }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.