<?xml version="1.0" encoding="utf-8"?><configuration> <title>City Address</title> <fields> <field name="SITE_ADDR" alias="Address" visible="true" /> <field name="LOCID" alias="Location ID" visible="true" > <format usethousandsseparator="false"/> </field> <field name="CAD" alias="CAD" visible="true" /> <field name="XCoord" alias="XCoord" visible="true" /> <field name="YCoord" alias="YCoord" visible="true" /> <field name="EMS_DIST" alias="EMS" visible="true" /> <field name="FIRE_ZONE" alias="FIRE" visible="true" /> <field name="STRAP" alias="STRAP" visible="true" /> </fields> <showattachments>FALSE</showattachments></configuration>
www,yourserver,com/viewername/popups/PopUp_filename.xml
<?xml version="1.0" ?><!-- //////////////////////////////////////////////////////////////////////////////// // // Read more about ArcGIS Viewer for Flex - http://links.esri.com/flexviewer // //////////////////////////////////////////////////////////////////////////////// --><configuration> <title>ArcGIS Viewer for Flex</title> <subtitle>a configurable web mapping application</subtitle> <logo>assets/images/logo.png</logo> <style> <colors>0xFFFFFF,0x333333,0x101010,0x000000,0xFFD700</colors> <alpha>0.8</alpha> </style> <!-- replace the following url with your own geometryservice --> <geometryservice url="http://fwbgis/arcgis/rest/services/Utilities/Geometry/GeometryServer" /> <!-- UI elements --> <widget left="10" top="50" config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf" /> <widget right="20" top="55" config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf" /> <widget left="0" top="0" config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf" /> <map wraparound180="true" initialextent="-9657400 3552400 -9627600 3566500" fullextent="-17360000 1756000 -2518000 8321000" top="40" addarcgisbasemaps="false"> <lods> <lod resolution="9783.93962049996" scale="36978595.474472" /> <lod resolution="4891.96981024998" scale="18489297.737236" /> <lod resolution="2445.98490512499" scale="9244648.868618" /> <lod resolution="1222.99245256249" scale="4622324.434309" /> <lod resolution="611.49622628138" scale="2311162.217155" /> <lod resolution="305.748113140558" scale="1155581.108577" /> <lod resolution="152.874056570411" scale="577790.554289" /> <lod resolution="76.4370282850732" scale="288895.277144" /> <lod resolution="38.2185141425366" scale="144447.638572" /> <lod resolution="19.1092570712683" scale="72223.819286" /> <lod resolution="9.55462853563415" scale="36111.909643" /> <lod resolution="4.77731426794937" scale="18055.954822" /> <lod resolution="2.38865713397468" scale="9027.977411" /> <lod resolution="1.19432856685505" scale="4513.988705" /> <lod resolution="0.597164283559817" scale="2256.994353" /> <lod resolution="0.298582141647617" scale="1128.497176" /> <lod resolution="0.149291444416222" scale="564.25" /> <lod resolution="0.0746" scale="282.12" /> <lod resolution="0.0373" scale="141.06" /> <lod resolution="0.0187" scale="70.53" /> </lods> <basemaps> <layer label="FWB Map" type="dynamic" visible="true" icon="assets/images/map.jpg" url="http://fwbgis/arcgis/rest/services/Maps/GreaterFWBWebM/MapServer"></layer> <layer label="2010 Aerial" type="tiled" visible="false" icon="assets/images/basemap_imagery.jpg" url="http://fwbgis/arcgis/rest/services/Maps/AerialFeb2010WebM/MapServer"></layer> <layer label="World Streets" type="tiled" visible="false" icon="assets/images/basemap_streets.jpg" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"></layer> <layer label="USA Topo" type="tiled" visible="false" icon="assets/images/basemap_topographic.jpg" url="http://server.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer"></layer> </basemaps> <operationallayers> <layer label="GIS Map" type="dynamic" visible="true" url="http://fwbgis/arcgis/rest/services/Maps/FWBWebMap/MapServer"> <sublayer id="153" popupconfig="popups/PopUp_FWBParcels.xml" /> <sublayer id="154" popupconfig="popups/PopUp_FWBParcels.xml" /> <sublayer id="147" popupconfig="popups/PopUp_FIRM.xml" /> <sublayer id="145" popupconfig="popups/PopUp_HS.xml" /> <sublayer id="144" popupconfig="popups/PopUp_ElevCert.xml" /> <sublayer id="142" popupconfig="popups/PopUp_Wetlands.xml" /> <sublayer id="138" popupconfig="popups/PopUp_FWBLanduse.xml" /> <sublayer id="139" popupconfig="popups/PopUp_FWBLanduse.xml" /> <sublayer id="140" popupconfig="popups/PopUp_FWBLanduse.xml" /> <sublayer id="134" popupconfig="popups/PopUp_Parks.xml" /> <sublayer id="129" popupconfig="popups/PopUp_CityProperty.xml" /> <sublayer id="128" popupconfig="popups/PopUp_PCI.xml" /> <sublayer id="122" popupconfig="popups/PopUp_StreetSigns.xml" /> <sublayer id="121" popupconfig="popups/PopUp_Streetlights.xml" /> <sublayer id="120" popupconfig="popups/PopUp_SewerTaps.xml" /> <sublayer id="119" popupconfig="popups/PopUp_WaterTaps.xml" /> <sublayer id="108" popupconfig="popups/PopUp_FWBRMain.xml" /> <sublayer id="107" popupconfig="popups/PopUp_FWBRLateral.xml" /> <sublayer id="101" popupconfig="popups/PopUp_FWBRMeter.xml" /> <sublayer id="100" popupconfig="popups/PopUp_FWBRHydrant.xml" /> <sublayer id="103" popupconfig="popups/PopUp_FWBRValve.xml" /> <sublayer id="106" popupconfig="popups/PopUp_FWBRValve.xml" /> <sublayer id="102" popupconfig="popups/PopUp_FWBRNetworkStructure.xml" /> <sublayer id="105" popupconfig="popups/PopUp_FWBRFitting.xml" /> <sublayer id="116" popupconfig="popups/PopUp_FWBSWMain.xml" /> <sublayer id="117" popupconfig="popups/PopUp_FWBSWMain.xml" /> <sublayer id="111" popupconfig="popups/PopUp_FWBSWInletOutlet.xml" /> <sublayer id="112" popupconfig="popups/PopUp_FWBSWInletOutlet.xml" /> <sublayer id="113" popupconfig="popups/PopUp_FWBSWInletOutlet.xml" /> <sublayer id="114" popupconfig="popups/PopUp_FWBSWHeadEnd.xml" /> <sublayer id="115" popupconfig="popups/PopUp_FWBSWHeadEnd.xml" /> <sublayer id="92" popupconfig="popups/PopUp_FWBSSManhole.xml" /> <sublayer id="96" popupconfig="popups/PopUp_FWBSSFM.xml" /> <sublayer id="97" popupconfig="popups/PopUp_FWBSSMain.xml" /> <sublayer id="98" popupconfig="popups/PopUp_FWBSSLateral.xml" /> <sublayer id="95" popupconfig="popups/PopUp_FWBSSNetworkStructure.xml" /> <sublayer id="87" popupconfig="popups/PopUp_FWBSSCleanout.xml" /> <sublayer id="91" popupconfig="popups/PopUp_FWBSSStubout.xml" /> <sublayer id="85" popupconfig="popups/PopUp_FWBWMain.xml" /> <sublayer id="84" popupconfig="popups/PopUp_FWBWLateral.xml" /> <sublayer id="74" popupconfig="popups/PopUp_FWBWMeter.xml" /> <sublayer id="77" popupconfig="popups/PopUp_FWBWHydrant.xml" /> <sublayer id="81" popupconfig="popups/PopUp_FWBCHydrant.xml" /> <sublayer id="82" popupconfig="popups/PopUp_FWBMHydrant.xml" /> <sublayer id="75" popupconfig="popups/PopUp_FWBWValve.xml" /> <sublayer id="79" popupconfig="popups/PopUp_FWBWValve.xml" /> <sublayer id="80" popupconfig="popups/PopUp_FWBWNetworkStructure.xml" /> <sublayer id="83" popupconfig="popups/PopUp_FireStations.xml" /> <sublayer id="78" popupconfig="popups/PopUp_FWBWFitting.xml" /> <sublayer id="71" popupconfig="popups/PopUp_References.xml" /> <sublayer id="72" popupconfig="popups/PopUp_References.xml" /> <sublayer id="69" popupconfig="popups/PopUp_Subdivisions.xml" /> <sublayer id="11" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="12" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="13" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="14" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="15" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="16" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="17" popupconfig="popups/PopUp_Easements.xml" /> <sublayer id="10" popupconfig="popups/PopUp_Deeds.xml" /> <sublayer id="9" popupconfig="popups/PopUp_Deeds.xml" /> <sublayer id="8" popupconfig="popups/PopUp_Deeds.xml" /> <sublayer id="7" popupconfig="popups/PopUp_Deeds.xml" /> <sublayer id="5" popupconfig="popups/PopUp_Brownfields.xml" /> <sublayer id="1" popupconfig="popups/PopUp_Addresses.xml" /> <sublayer id="2" popupconfig="popups/PopUp_AddressesC.xml" /> </layer> </operationallayers> </map> <!-- widgets organized into widget containers that manage close/open etc --> <!-- supported layout property options: horizontal(default)|float|vertical|fix --> <widgetcontainer layout="float"> <widget label="Bookmarks" left="430" top="90" icon="assets/images/i_bookmark.png" config="widgets/Bookmark/BookmarkWidget.xml" url="widgets/Bookmark/BookmarkWidget.swf" /> <widget label="Louisville Police" left="590" top="280" icon="assets/images/i_police.png" config="widgets/Query/QueryWidget_Louisville_PoliceStations.xml" url="widgets/Query/QueryWidget.swf" /> <widget label="Search" left="80" top="280" icon="assets/images/i_search.png" config="widgets/Search/SearchWidget_Louisville.xml" url="widgets/Search/SearchWidget.swf" /> <widget label="Earthquakes (GeoRSS)" left="410" top="280" icon="assets/images/i_rss.png" config="widgets/GeoRSS/GeoRSSWidget.xml" url="widgets/GeoRSS/GeoRSSWidget.swf" /> <widget label="Draw" left="60" top="400" icon="assets/images/i_draw2.png" config="widgets/Draw/DrawWidget.xml" url="widgets/Draw/DrawWidget.swf" /> <widget label="Print" left="390" top="400" icon="assets/images/i_print.png" config="widgets/Print/PrintWidget.xml" url="widgets/Print/PrintWidget.swf" /> <!-- <widget label="My first widget" icon="assets/images/i_widget.png" config="widgets/Samples/HelloWorld/HelloWorldWidget.xml" url="widgets/Samples/HelloWorld/HelloWorldWidget.swf"/> --> </widgetcontainer></configuration>
The attached is the screenshots of my rest service.Thanks,Luci
<sublayer id="1" popupconfig="popups/PopUp_Addresses.xml" />
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.