Skip To Content

Sample configuration

Download the sample configuration file, or see the following example:

<?xml version="1.0" encoding="utf-8"?>
<configuration version="1.9">
    <general>
        <workspace directory="" autoSave="True"/>
        <!--Custom or History-->
    <startupView value="Custom">
      <camera>
        <mapPoint x="-92" y="41" z="11000000" wkid="4326"/>
        <heading value="0"/>
        <pitch value="0"/>
        <roll value="0"/>
      </camera>
    </startupView>
        <!--WebMercator or WGS84-->
        <spatialReference value="WebMercator" />
        <isShowInExternalBrowser value="False" />
    <isShowStartupTips value="True" />
    <!--Display language: English Japanese Polish Russian-->
    <!--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 value="System"/>
    </general>
    <navigation>
        <!--speed:0 ~ 100-->
        <flyto speed="50" autoZoomToNewLayer="True"/>
        <!--speed:0 ~ 100; zoomDirection:Forward or Backward-->
        <mouseWheel speed="50" zoomDirection="Forward"/>
        <continuousPanning value="True" />
    <nonMouseController enable="False" reverse="False" />
    </navigation>
    <effects3d>
        <!--On or Off-->
        <atmosphere value="Off"/>
        <elevationExaggeration value="1"/>
    </effects3d>	
    <units>
        <!--DD DMS UTM_Meter UTM_Feet MGRS-->
        <location value="DMS" />
        <!--Meters Inches Feet Kilometers Miles NauticalMiles Yards-->
        <distance value="Meters" />
    <!--Meters Inches Feet Kilometers Miles NauticalMiles Yards-->
    <elevation value="Meters" />
        <!--SquareMeters SquareMiles SquareYards Acres Ares Hectares SquareCentimeters SquareDecimeters SquareFeet SquareInches SquareKilometers-->
        <area value="SquareMeters" />
        <isLongitudeFront value="True" />
    </units>
    <advanced>
        <proxy use="False">
            <address value="" />
            <username value="" />
            <password value="" />
        </proxy>
    </advanced>

  <!--Admin Settings-->
  <isDefaultKmlViewer value="False"/>
  <blockArcGISOnline value="False"/>
  <portals>
    <portal url="https://www.arcgis.com"/>
  </portals>
  <!--Configure the list of portals or servers you wish ArcGIS Earth to send credentials to when working with services secured with PKI authentication, especially for the Oracle Access Management servers.-->
  <pkiServers>
    <!--<server url="https://secure.domain.com"/>
    <server url="https://webadaptorhost.domain.com"/>-->
  </pkiServers>
  <fonts>
    <symbolFontName value="Avenir Next LT Pro"/>
  </fonts>
  <log enable="True">
    <!--Debug Info Warning or Error-->
    <category value="Info"/>
    <rollSizeKB value="10000"/>
    <maxArchivedFiles value="1000"/>
  </log>
  <startupLayers name="Startup Layers" state="Visible">
    <!--<layer name="startup_kml" type="KML" url="C:\test.kml" state="Visible"/>
            <layer name="startup_shapefile" type="Shapefile" url="C:\test.shp" state="Invisible"/>
            <group name="group_name_1" state="Visible">
            <layer name="startup_wms" type="WMS" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/MapServer/WMSServer" state="Visible"/>
            <layer name="startup_mapservice" type="MapService" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/MapServer" state="Invisible"/>
            <group name="group_name_2" state="Invisible">
            <layer name="startup_featureservice" type="FeatureService" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/FeatureServer" state="Visible"/>
            <layer name="startup_imageservice" type="ImageService" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/ImageServer" state="Invisible"/>
            </group>
          <layer name="startup_sceneservice" type="SceneService" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/SceneServer" state="Visible"/>
            </group>
        <layer name="startup_tilepackage" type="TilePackage" url="C:\test.tpk" state="Invisible"/>
            <layer name="startup_scenelayerpackage" type="SceneLayerPackage" url="C:\test.slpk" state="Visible"/>
        <layer name="startup_raster" type="Raster" url="C:\test.tif" state="Visible"/>-->
  </startupLayers>
  <organizationalBasemaps>
    <!--<basemap name="basemap_kml" type="KML" url="C:\test.kml"/>
        <basemap name="basemap_wms" type="WMS" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/MapServer/WMSServer"/>
        <basemap name="basemap_mapservice" type="MapService" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/MapServer"/>
        <basemap name="basemap_featureservice" type="FeatureService" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/FeatureServer"/>
        <basemap name="basemap_imageservice" type="ImageService" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/ImageServer"/>
        <basemap name="basemap_sceneservice" type="SceneService" url="http://&lt;catalog-url&gt;/&lt;serviceName&gt;/SceneServer"/>
        <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_multi_file" enable="True" url = "C:\test.dt1;C:\test.dt2"/>
        <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"/>-->
  </organizationalTerrains>
  <positionServiceUrl>
    <!--<urlwithpos value="http://127.0.0.1:8585/pointBasedService?lon=%LONGITUDE%&amp;lat=%LATITUDE%&amp;elv=%ELEVATION%&amp;output=.kml" />
        <urlwithoutpos value="http://127.0.0.1:8585/randomService?&amp;output=.kml" />-->
  </positionServiceUrl>
  <localKmlIcons enable="False">
    <path value = ""/>
  </localKmlIcons>
  <aboutSettings>
    <acknowledgement visible="True">
      <url value="http://www.esri.com/legal/open-source-acknowledgements" />
    </acknowledgement>
    <help>
      <url value="http://doc.arcgis.com/en/arcgis-earth/" />
    </help>
    <submitFeedback visible="True">
      <url value="https://community.esri.com/groups/arcgis-earth" />
    </submitFeedback>
  </aboutSettings>
  <bannerSettings visible="False">
    <bannerBar>
      <height value="58" />
      <background value="#88000000" />
      <bottomOffset value="125" />
    </bannerBar>
    <bannerText>
      <content value="Welcome to ArcGIS Earth" />
      <!--Left Center or Right-->
      <contentAlignment value="Center"/>
      <fontColor value="#ffffff" />
      <fontName value="" />
      <fontSize value="24" />
      <!--Normal Italic-->
      <fontStyle value="Normal" />
    </bannerText>
  </bannerSettings>
</configuration>