構成ファイルのサンプル

サンプル構成ファイルをダウンロードするか、次の例をご参照ください。

<?xml version="1.0" encoding="utf-8"?>
<configuration version="1.13">
  <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-->
    <flyto>
      <speed>50</speed>
      <autoZoomToNewLayer>True</autoZoomToNewLayer>
    </flyto>
    <!--speed:0 ~ 100; zoomDirection:Forward or Backward-->
    <mouseWheel>
      <speed>50</speed>
      <zoomDirection>Forward</zoomDirection>
    </mouseWheel>
    <continuousPanning>True</continuousPanning>
    <nonMouseController enable="False" reverse="False"/>
  </navigation>
  <effects3d>
    <!--On or Off-->
    <atmosphere>Off</atmosphere>
    <elevationExaggeration>1</elevationExaggeration>
  </effects3d>
  <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>
  <blockArcGISOnline>False</blockArcGISOnline>
  <enableHtmlWindow>False</enableHtmlWindow>
  <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>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">
    <!--<layer name="" type="KML" url="C:\test.kml" visible="True"/>
    <layer name="" type="Shapefile" url="C:\test.shp" visible="False"/>
    <layer name="" type="GeoJSON" url="C:\test.geojson" visible="True"/>
    <group name="group_name_1" visible="True">
      <layer name="" type="WMS" url="http://myservername.esri.com/someservice/MapServer/WMSServer" visible="True"/>
      <layer name="" type="MapService" url="http://myservername.esri.com/someservice/MapServer/MapServer" visible="False"/>
      <group name="group_name_2" visible="False">
        <layer name="" type="FeatureService" url="http://myservername.esri.com/someservice/MapServer/FeatureServer" visible="True"/>
        <layer name="" type="ImageService" url="http://myservername.esri.com/someservice/MapServer/ImageServer" visible="False"/>
      </group>
      <layer name="" type="SceneService" url="http://myservername.esri.com/someservice/MapServer/SceneServer" visible="True"/>
    </group>
    <layer name="" type="TilePackage" url="C:\test.tpk" visible="False"/>
    <layer name="" type="SceneLayerPackage" url="C:\test.slpk" visible="True"/>
    <layer name="" type="Raster" url="C:\test.tif" visible="True"/>
    <layer name="" type="WebMap" url="http://myservername.esri.com/home/item.html?id=xxx" visible="True"/>
    <layer name="" type="WebScene" url="http://myservername.esri.com/home/item.html?id=xxx" visible="True"/>
    <layer name="" type="MobileScenePackage" url="C:\test.mspk" visible="True"/>
    <layer name="" type="WMS" url="http://myservername.esri.com/someservice/MapServer/WMSServer" visible="True">
      <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/SomeServer/WFSServer?service=wfs&amp;request=getcapabilities</url>
      <layer>
        <name>workspace:layer1</name>
        <maxFeatures>3000</maxFeatures>
        <swapxy>False</swapxy>
      </layer>
    </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/MapServer/WMSServer"/>
    <basemap name="basemap_mapservice" type="MapService" url="http://myservername.esri.com/someservice/MapServer/MapServer"/>
    <basemap name="basemap_featureservice" type="FeatureService" url="http://myservername.esri.com/someservice/MapServer/FeatureServer"/>
    <basemap name="basemap_imageservice" type="ImageService" url="http://myservername.esri.com/someservice/MapServer/ImageServer"/>
    <basemap name="basemap_sceneservice" type="SceneService" url="http://myservername.esri.com/someservice/MapServer/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_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>http://www.esri.com/legal/open-source-acknowledgements</url>
    </acknowledgement>
    <help>
      <text></text>
      <url>http://doc.arcgis.com/en/arcgis-earth/</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>
</configuration>