Changes between Version 4 and Version 5 of ApplicationDefinition/MapSet/MapGroup


Ignore:
Timestamp:
Apr 7, 2008, 12:31:41 PM (16 years ago)
Author:
jbirch
Comment:

ok, fine, they're tags... :P

Legend:

Unmodified
Added
Removed
Modified
  • ApplicationDefinition/MapSet/MapGroup

    v4 v5  
    44= !MapGroup =
    55
    6 A child of the [wiki:ApplicationDefinition/MapSet MapSet] element, a !MapGroup contains configuration information for map rendering sources that are to be included in a visible map.  A !MapGroup must contain at least one '''Map''' element to be valid, and may contain one '''!InitialView''' element. For example:
     6A child of the [wiki:ApplicationDefinition/MapSet MapSet] tag, a !MapGroup contains configuration information for map rendering sources that are to be included in a visible map.  A !MapGroup must contain at least one '''Map''' tag to be valid, and may contain one '''!InitialView''' tag. For example:
    77
    88{{{
     
    155155!InitialView allows you to set a zoom extents that is different that the maximum extents of the default map.  This is useful for regional mapping, as it allows you to create a map with large extents to give a reasonable amout of context, but still have only your area of interest displayed on initial load.
    156156
    157 There are two syntaxes allowed for !InitialView, center and scale style, or bounding box style.  The center and scale style is given precedence over the bounding box style if both sets of required elements exist.  If any of the required elements are missing for either of these styles (for instance, omitting the CenterX element for the center and scale style) that style will not be applied.
     157There are two syntaxes allowed for !InitialView, center and scale style, or bounding box style.  The center and scale style is given precedence over the bounding box style if both sets of required tags exist.  If any of the required tags are missing for either of these styles (for instance, omitting the CenterX tag for the center and scale style) that style will not be applied.
    158158
    159159=== Center and Scale ===
     
    161161This allows you to set the initial view based on a midpoint and a desired scale.
    162162
    163 For this to be used, you must include valid CenterX, CenterY and Scale elements within the !InitialView element.
     163For this to be used, you must include valid CenterX, CenterY and Scale tags.
    164164
    165165Example:
     
    177177This allows you to set the initial view based on a desired bounding box.
    178178
    179 For this to be used, you must include valid MinX, MinY, MaxX, and MaxY elements within the !InitialView element.
     179For this to be used, you must include valid MinX, MinY, MaxX, and MaxY tags.
    180180
    181181Example: