Образец конфигурации

Загрузите образец файла конфигурации или см. следующий пример:

<?xml version="1.0" encoding="utf-8"?>
<configuration version="2.1">
  <enableCheckForUpdates>True</enableCheckForUpdates>
  <general>
    <workspace autoSave="True">
      <directory></directory>
    </workspace>
    <!--Custom or History-->
    <startupView>
      <type>Custom</type>
      <camera>
        <mapPoint>
          <wkid>4326</wkid>
          <x>-92</x>
          <y>41</y>
          <z>11000000</z>
        </mapPoint>
        <heading>0</heading>
        <pitch>0</pitch>
        <roll>0</roll>
      </camera>
    </startupView>
    <!--WebMercator or WGS84-->
    <spatialReference>WebMercator</spatialReference>
    <isShowInExternalBrowser>False</isShowInExternalBrowser>
    <isShowStartupTips>True</isShowStartupTips>
    <!--Display language: English Japanese Polish Russian French Spanish German-->
    <!--Example: https://developers.arcgis.com/rest/users-groups-and-items/languages.htm-->
    <!--If the value is System, then the display language will match Microsoft Windows.-->
    <language>System</language>
  </general>
  <navigation>
    <!--speed: 0 ~ 100-->
    <!--angle: Default or None-->
    <flyto>    
      <speed>50</speed>
      <autoZoomToNewLayer>True</autoZoomToNewLayer>
      <angle>Default</angle>
    </flyto>
    <!--speed:0 ~ 100; zoomDirection:Forward or Backward-->
    <mouseWheel>
      <speed>50</speed>
      <zoomDirection>Forward</zoomDirection>
    </mouseWheel>
    <!-- Default Expanded Collapsed -->
    <navigatorMode>Default</navigatorMode>
    <continuousPanning>True</continuousPanning>
    <nonMouseController enable="False" reverse="False"/>
  </navigation>
  <environments>
    <!--None, Horizon, Realistic-->
    <atmosphere>Horizon</atmosphere>
    <elevationExaggeration>1</elevationExaggeration>
    <!--Maximum allowable is 1000-->
    <elevationExaggerationMax>100</elevationExaggerationMax>
    <!--On or Off-->
    <undergroundNavigation>Off</undergroundNavigation>
    <!--[0, 100]-->
    <groundTransparency>0</groundTransparency>
  </environments>
  <units>
    <!--DD DMS UTM_Meter UTM_Feet MGRS-->
    <location>DMS</location>
    <!--Meters Inches Feet Kilometers Miles NauticalMiles Yards-->
    <distance>Meters</distance>
    <!--Meters Inches Feet Kilometers Miles NauticalMiles Yards-->
    <elevation>Meters</elevation>
    <!--SquareMeters SquareMiles SquareYards Acres Ares Hectares SquareCentimeters SquareDecimeters SquareFeet SquareInches SquareKilometers-->
    <area>SquareMeters</area>
    <isLongitudeFront>False</isLongitudeFront>
  </units>
  <advanced>
    <proxy use="False">
      <address></address>
      <username></username>
      <password></password>
    </proxy>
  </advanced>

  <!--Admin Settings-->
  <isDefaultKmlViewer>False</isDefaultKmlViewer>
  <isDefaultMspkViewer>True</isDefaultMspkViewer>
  <enableHtmlWindow>False</enableHtmlWindow>
  <enableTableDataExport>True</enableTableDataExport>
  <blockArcGISOnline>False</blockArcGISOnline>
  <findInTOC>False</findInTOC>
  <portals disableAddPortal ="False">
    <portal url="https://www.arcgis.com"/>
  </portals>
  <popup>
    <!--Switch to False to turn on auto adjustment-->
    <size fixed="True">
      <width>300</width>
      <height>420</height>
    </size>
  </popup>
  <fonts>
    <symbolFontName>Avenir Next LT Pro</symbolFontName>
  </fonts>
  <log enable="True">
    <!--Debug Info Warning or Error-->
    <category>Info</category>
    <rollSizeKB>10000</rollSizeKB>
    <maxArchivedFiles>1000</maxArchivedFiles>
  </log>
  <startupLayers name="" visible="True" icon="">
    <!--<layer name="" type="KML" url="C:\test.kml" visible="True" icon="c:\test.jpg"/>
    <layer name="" type="Shapefile" url="C:\test.shp" visible="False" icon="c:\test.jpg"/>
    <layer name="" type="GeoJSON" url="C:\test.geojson" visible="True" icon="c:\test.jpg"/>
    <group name="group_name_1" visible="True" icon="c:\test.jpg">
      <layer name="" type="WMS" url="http://myservername.esri.com/someservice/servicename/MapServer/WMSServer" visible="True" icon="c:\test.jpg"/>
      <layer name="" type="MapService" url="http://myservername.esri.com/someservice/servicename/MapServer" visible="False" icon="c:\test.jpg"/>
      <group name="group_name_2" visible="False">
        <layer name="" type="FeatureService" url="http://myservername.esri.com/someservice/servicename/FeatureServer" visible="True" icon="c:\test.jpg"/>
        <layer name="" type="ImageService" url="http://myservername.esri.com/someservice/servicename/ImageServer" visible="False" icon="c:\test.jpg"/>
      </group>
      <layer name="" type="SceneService" url="http://myservername.esri.com/someservice/servicename/SceneServer" visible="True" icon="c:\test.jpg"/>
    </group>
    <layer name="" type="VectorTileService" url="http://myservername.esri.com/someservice/servicename/VectorTileServer" visible="False" icon="c:\test.jpg"/>
    <layer name="" type="VectorTilePackage" url="C:\test.vtpk" visible="False" icon="c:\test.jpg"/>
    <layer name="" type="TilePackage" url="C:\test.tpk" visible="False" icon="c:\test.jpg"/>
    <layer name="" type="SceneLayerPackage" url="C:\test.slpk" visible="True" icon="c:\test.jpg"/>
    <layer name="" type="Raster" url="C:\test.tif" visible="True" icon=""/>
    <layer name="" type="WebMap" url="http://myservername.esri.com/home/item.html?id=xxx" visible="True" icon="c:\test.jpg"/>
    <layer name="" type="WebScene" url="http://myservername.esri.com/home/item.html?id=xxx" visible="True" icon="c:\test.jpg"/>
    <layer name="" type="MobileScenePackage" url="C:\test.mspk" visible="True" icon=""/>
    <layer name="" type="MobileMapPackage" url="C:\test.mmpk" visible="True" icon=""/>
    <layer name="" type="GeoPackage" url="C:\test.gpkg" visible="True" icon=""/>
    <layer name="" type="MobileGeodatabase" url="C:\test.geodatabase" visible="True" icon=""/>
    <layer name="" type="WMS" url="http://myservername.esri.com/someservice/servicename/MapServer/WMSServer" visible="True" icon="c:\test.jpg">
      <layer name="sub-layer-1" title="sub layer 1"/>
      <layer name="sub-layer-2" title="sub layer 2"/>
    </layer>
    <layer visible="True">
      <name>startup-wfs</name>
      <type>WFS</type>
      <url>http://myservername.esri.com/someservice/servicename/WFSServer?service=wfs&amp;request=getcapabilities</url>
      <layer>
        <name>workspace:layer1</name>
        <maxFeatures>3000</maxFeatures>
        <swapxy>False</swapxy>
      </layer>
      <icon>c:\test.jpg</icon>
    </layer>-->
  </startupLayers>
  <organizationalBasemaps>
    <!--<basemap name="basemap_kml" type="KML" url="C:\test.kml"/>
    <basemap name="basemap_wms" type="WMS" url="http://myservername.esri.com/someservice/servicename/MapServer/WMSServer"/>
    <basemap name="basemap_mapservice" type="MapService" url="http://myservername.esri.com/someservice/servicename/MapServer"/>
    <basemap name="basemap_featureservice" type="FeatureService" url="http://myservername.esri.com/someservice/servicename/FeatureServer"/>
    <basemap name="basemap_imageservice" type="ImageService" url="http://myservername.esri.com/someservice/servicename/ImageServer"/>
    <basemap name="basemap_sceneservice" type="SceneService" url="http://myservername.esri.com/someservice/servicename/SceneServer"/>
    <basemap name="basemap_vectortileservice" type="SceneService" url="http://myservername.esri.com/someservice/servicename/VectorTileServer"/>
    <basemap name="basemap_vectortilepackage" type="VectorTilePackage" url="C:\test.vtpk"/>
    <basemap name="basemap_tilepackage" type="TilePackage" url="C:\test.tpk"/>
    <basemap name="basemap_scenelayerpackage" type="SceneLayerPackage" url="C:\test.slpk"/>
    <basemap name="basemap_raster" type="Raster" url="C:\test.tif"/>-->
  </organizationalBasemaps>
  <organizationalTerrains>
    <!--<terrain name="terrain_single_file" enable="False" url = "C:\test.tif"/>
    <terrain name="terrain_service" enable="False" url = "http://&lt;elevation3d.arcgis.com&gt;/&lt;arcgis&gt;/rest&gt;/services&gt;/WorldElevation3D&gt;/Terrain3D&gt;/ImageServer"/>
    <terrain enable="True">
      <name>terrain_multi_file</name>
      <path>C:\test.dt1</path>
      <path>C:\test.dt2</path>
    </terrain>-->
  </organizationalTerrains>
  <positionServiceUrl>
    <!--<urlwithpos>http://127.0.0.1:8585/pointBasedService?lon=%LONGITUDE%&amp;lat=%LATITUDE%&amp;elv=%ELEVATION%&amp;output=.kml</urlwithpos>
    <urlwithoutpos>http://127.0.0.1:8585/randomService?&amp;output=.kml</urlwithoutpos>-->
  </positionServiceUrl>
  <localKmlIcons enable="False">
    <directory></directory>
  </localKmlIcons>
  <directoryStyleLink enable="False">
    <text></text>
    <url>https://esri-styles.maps.arcgis.com/home/group.html?id=e373003b7c144a23bba0c1fe4e7addd3#overview</url>
  </directoryStyleLink>
  <aboutSettings>
    <acknowledgement visible="True">
      <text></text>
      <url>https://www.esri.com/en-us/legal/requirements/open-source-acknowledgements</url>
    </acknowledgement>
    <help>
      <text></text>
      <url>https://www.esri.com/en-us/arcgis/products/arcgis-earth/resources</url>
    </help>
    <submitFeedback visible="True">
      <text></text>
      <url>https://community.esri.com/t5/arcgis-earth/ct-p/arcgis-earth</url>
    </submitFeedback>
  </aboutSettings>
  <bannerSettings visible="False">
    <bannerBar>
      <height>58</height>
      <background>#88000000</background>
      <bottomOffset>125</bottomOffset>
    </bannerBar>
    <bannerText>
      <content>Welcome to ArcGIS Earth</content>
      <!--Left Center or Right-->
      <contentAlignment>Center</contentAlignment>
      <fontColor>#ffffff</fontColor>
      <fontName>Avenir Next LT Pro</fontName>
      <fontSize>24</fontSize>
      <!--Normal Italic-->
      <fontStyle>Normal</fontStyle>
    </bannerText>
  </bannerSettings>
  <automationAPI>
    <autoStart>False</autoStart>
  </automationAPI>
</configuration>