Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»

Complete Virtual Application Example

RSS
Modified on Friday, 27 May 2011 01:20 PM by Administrator Categorized as Virtual Application
Here's an example of completely configured virtual application that has multiple mapservices, components, commands, and application links.

Table of Contents [Hide/Show]


Example


<virtualApplication initialExtent="-9826373.649,3704108.612,-8689284.583,2780875.748" name="gev" logoImage="http://tlbstws3.dot.state.fl.us/gisframework/images/dotlogo.png" authType="None" title="GIS Enterprise View" helpText="The GIS Enterprise View is intended to allow FDOT staff access to various data sources to analysis on a map" isDefault="true">
    <mapServices>
      <mapService name="streets" mapServiceType="Tiled" displayName="Streets" allowQuery="false" alternateIdentifyService="gev-tiled" url="http:"//server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/ isOverviewMap="true"/>
      <mapService name="topography" mapServiceType="Tiled" displayName="Topography" allowQuery="false" alternateIdentifyService="gev-tiled"url="http://server.arcgisonline.com/ArcGIS/rest/services/USA_Topo_Maps/MapServer/" />
      <mapService name="aerials" mapServiceType="Tiled" displayName="Aerials" allowQuery="false" minimumResolution="0.597164283559817" alternateIdentifyService="gev-tiled" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/" />
      <mapService name="gev-tiled" mapServiceType="Tiled" displayName="Streets" allowQuery="true" allowView="false" url="http://tlbstws4.dot.state.fl.us/arcgis/rest/services/GEV_BOUNDARIES_CMS/MapServer" />
      <mapService name="gev-dynamic" mapServiceType="Dynamic" displayName="Operational Layers" collapsedGroupIds="96;171" url="http://tlbstws4.dot.state.fl.us/arcgis/rest/services/GEV_DMS/MapServer/" />
    </mapServices>
    <components>
      <component name="Map Layers" type="FDOT.GIS.Client.Components.ViewModels.TocViewModel" xapuri="FDOT.GIS.Client.Components.xap" helpText="Switch basemaps or turn data layers on or off" hotkey="T" />
      <component name="Identify" type="FDOT.GIS.Client.Components.ViewModels.IdentifyViewModel" xapuri="FDOT.GIS.Client.Components.xap" helpText="Identify map feature" hotkey="I"/>
      <component name="Query" type="FDOT.GIS.Client.Components.ViewModels.QueryTool.QueryViewModel" xapuri="FDOT.GIS.Client.Components.xap" helpText="Query map layers" hotkey="Q" />
      <component name="Measure" type="FDOT.GIS.Client.Components.ViewModels.MeasureTool.MeasureToolViewModel" xapuri="FDOT.GIS.Client.Components.xap" helpText="Measure distances on the map" hotkey="M" />
      <component name="Draw" type="FDOT.GIS.Client.Components.ViewModels.DrawToolViewModel" xapuri="FDOT.GIS.Client.Components.xap" helpText="Draw geometry on the map" hotkey="D"/>
      <component name="Address Lookup" type="FDOT.GIS.Client.Components.ViewModels.AddressLookupTool.AddressLookupViewModel" xapuri="FDOT.GIS.Client.Components.xap" helpText="Locate Florida addresses" hotkey="A" />
      <component name="Zoom" type="FDOT.GIS.Client.Components.ZoomToBoxComponent" xapuri="FDOT.GIS.Client.Components.xap" helpText="Zoom to selected region" />
      <component name="Zoom To Feature" type="FDOT.GIS.Client.Components.ViewModels.ZoomToViewModel" xapuri="FDOT.GIS.Client.Components.xap" helpText="Zoom to specified map features" hotkey="Z"/>
      <component name="Get Coordinates" type="FDOT.GIS.Client.Components.ViewModels.CoordinatesViewModel" xapuri="FDOT.GIS.Client.Components.xap" helpText="Get lat/long coordinates" hotkey="C">
        <customSettings>
          <add name="Projections" value ="3087:Albers,102100:Web Mercator" />
        </customSettings>
      </component>
      <component name="Zoom To Coordinates" type="FDOT.GIS.Client.Components.ZoomToCoordinatesComponent" xapuri="FDOT.GIS.Client.Components.xap" helpText="Zoom to lat/long coordinates" />
      <component name="Print" type="FDOT.GIS.Client.Components.ViewModels.PrintOptionsViewModel" xapuri="FDOT.GIS.Client.Components.xap" helpText="Print the current map view" hotkey="P"/>
    </components>
    <commands>
      <command name="zoomToCounty" type="FDOT.GIS.Client.Commands.ZoomToCountyInitialCommand" xapuri="" >
        <customSettings>
          <add name="layerId" value ="3" />
          <add name="columnId" value ="NAME" />
          <add name="mapServiceName" value="gev-tiled" />
          <add name="forceUppercase" value="true" />
        </customSettings>
      </command>
      <command name="zoomToDistrict" type="FDOT.GIS.Client.Commands.ZoomToDistrictInitialCommand" xapuri="" >
        <customSettings>
          <add name="layerId" value ="173" />
          <add name="columnId" value ="DISTRICT" />
          <add name="mapServiceName" value="gev-dynamic" />
        </customSettings>
      </command>
      <command name="zoomToRoadway" type="FDOT.GIS.Client.Commands.ZoomToRoadwayInitialCommand" xapuri="" >
        <customSettings>
          <add name="layerId" value ="167" />
          <add name="columnId" value ="ROADWAY" />
          <add name="mapServiceName" value="gev-dynamic" />
        </customSettings>
      </command>
      <command name="zoomToWorkProgramItem" type="FDOT.GIS.Client.Commands.ZoomToWorkProgramItemInitialCommand" xapuri="" >
        <customSettings>
          <add name="layerId" value ="74" />
          <add name="columnId" value ="ITMSEG" />
          <add name="mapServiceName" value="gev-dynamic" />
        </customSettings>
      </command>
      <command name="zoomToCustom" type="FDOT.GIS.Client.Commands.ZoomToCustomInitialCommand" xapuri="" />
      <command name="setExtent" type="FDOT.GIS.Client.Commands.SetExtentCommand" xapuri="" />
      <command name="showLayers" type="FDOT.GIS.Client.Commands.ShowLayersCommand" xapuri="" />
      <command name="drawGraphic" type="FDOT.GIS.Client.Commands.DrawCommand" xapuri="" />
      <command name="getCodes" type="FDOT.GIS.Client.Commands.GetCodesCommand" xapuri="" />
      <command name="query" type="FDOT.GIS.Client.Components.Commands.QueryCommand" xapuri="FDOT.GIS.Client.Components.xap" />
    </commands>
    <externalLinks>
      <link type="FDOT.GIS.Client.Domain.BufferQueryLink" xapuri=""></link>
      <link type="FDOT.GIS.Client.Domain.EnterpriseInformationPortalContractDetailLink" xapuri="">
        <customSettings>
          <add name="webserver" value ="webapp01.dot.state.fl.us" />
        </customSettings>
      </link>
      <link type="FDOT.GIS.Client.Domain.EnterpriseInformationPortalContractDocumentsLink" xapuri="">
        <customSettings>
          <add name="webserver" value ="webapp01.dot.state.fl.us" />
        </customSettings>
      </link>
      <link type="FDOT.GIS.Client.Domain.FinancialProjectSearchLink" xapuri="">
        <customSettings>
          <add name="webserver" value ="webapp01.dot.state.fl.us" />
        </customSettings>
      </link>
      <link type="FDOT.GIS.Client.Domain.EnterpriseInformationPortalFinancialProjectDetailLink" xapuri="">
        <customSettings>
          <add name="webserver" value ="webapp01.dot.state.fl.us" />
        </customSettings>
      </link>
      <link type="FDOT.GIS.Client.Domain.EnterpriseInformationPortalFinancialProjectDocumentsLink" xapuri="">
        <customSettings>
          <add name="webserver" value ="webapp01.dot.state.fl.us" />
        </customSettings>
      </link>
      <link type="FDOT.GIS.Client.Domain.RhciImagesLink" xapuri="">
        <customSettings>
          <add name="webserver" value ="webapp01.dot.state.fl.us" />
        </customSettings>
      </link>
      <link type="FDOT.GIS.Client.Domain.VideoLogRoadwayIdLink" xapuri="">
        customSettings><add name="webserver" value ="webapp01.dot.state.fl.us" /></customSettings>
      </link>
      <link type="FDOT.GIS.Client.Domain.ProjectSuiteEnterpriseEditionProjectLink" xapuri="">
        <customSettings>
          <add name="webserver" value ="webapp01.dot.state.fl.us" />
        </customSettings>
      </link>
      <link type="FDOT.GIS.Client.Domain.StreetViewLink" xapuri=""></link>
    </externalLinks>
  </virtualApplication>

See Also

Any Questions or Comments? Email
Some of the icons created by FamFamFam.