GPVApplication - AppGeo/GPV GitHub Wiki
A GPV application is a set of maps, an optional set of layers enabled for feature selection, and an optional markup capability directed at a particular group of users. The GPVApplication table lists all of the applications provided by this instance of the GPV.
Columns
- ApplicationID - A unique identifier for this application (not null). This can be the same as the display name. Links to GPVApplicationMapTab, GPVApplicationMarkupCategory, GPVApplicationPrintTemplate.
- DisplayName - The name of this application that is displayed to the user (not null).
- AuthorizedRoles - A comma separated list of roles that are authorized to start this application. If null, defaults to "public" which allows for unrestricted access.
- FunctionTabs - The function tabs to display to the left of the map, either "none", "all", or any combination of "search", "selection", "legend", "location", "markup" and "share" separated by commas. If null, no function tabs will be displayed (map-only mode).
New at 5.0
DefaultFunctionTab - The initial function tabs to display. Must be one of the function tabs defined above. If null, the function selection panel is displayed.- DefaultMapTab - The ID of the map tab to activate when this application starts. If null and not specified in the URL, the first map tab is activated.
New at 5.0
DefaultSearch - The ID of the search to activate. If null and not specified in the URL, the first search is activated.- DefaultAction - The selection tool action to activate. Valid values are "select", "findallwithin", "findnearest1", "findnearest2", "findnearest3", "findnearest4" and "findnearest5". If null, defaults to "select".
- DefaultTargetLayer - The ID of the layer to set as the target layer. If null, defaults to the first target layer listed.
- DefaultProximity - The ID of the proximity (named search distance) to use when ''DefaultAction'' is "findallwithin". If null, defaults to the first proximity listed.
- DefaultSelectionLayer- The ID of the layer to set as the selection layer. If null, defaults to the first selection layer listed.
- DefaultLevel - The ID of the default level for the application. If set, ZoneLevelID must be set. If null, defaults to the level in the associated zone/level specification with the lowest sequence number.
New at 5.0
DefaultTool - The active map tool when opening the application, one of: "identify", "select", "drawpoint", "drawline", "drawpolygon", "drawcircle", "drawtext", "drawcoordinates", "drawlength", "drawarea", "deletemarkup", "colorpicker" or "paintbucket". For backward compatibility "pan" is still supported but now it's a synomyn for "identify". If not specified or if the specified tool is disabled, this defaults to "identify".- FullExtent - The full extent for this application specified as four comma-separated numbers: minimum X, minimum Y, maximum X, maximum Y. If null, defaults to the full extent defined in Web.config.
- OverviewMapID - The ID of a map tab that will be displayed as the overview map on the Location function tab. Required if the Location function tab has been made available.
- CoordinateModes- The types of coordinates to display on the map using the coordinates tool. Valid values are "dms" (degrees, minutes, seconds), "dd" (decimal degrees), "ne" (northing/easting) and "usng" (U.S. National Grid). Multiple values can be specified, separated by commas. If null, defaults to "ne".
- ZoneLevelID - The ID of the zone/level specification to use in this application. If null, zones and level will not be enabled in the application.
- TrackUse - Specifies whether usage tracking should be enabled for this application, 1 for yes and 0 for no. If null, defaults to 0 (no).
New at 5.0
MetaDescription - Writes a description to a <meta> tag in the header of the GPV HTML page. This description will appear in search engine results.New at 5.0
MetaKeywords - Writes a list of keywords to a <meta> tag in the header of the GPV HTML page. Use this for search engine optimization (SEO).- About - Provides information about this application. This is shown at the top of the Help page.
- Active - Specifies whether this application should be available for use, 1 for yes and 0 for no. If null, defaults to 0 (no).
Deactivation
Deactivating an application will automatically deactivate all map tabs, zone/level specifications, markup categories and print templates that are solely dependent upon it.