Changes between Version 4 and Version 5 of ApplicationDefinition/MapSet/MapGroup
- Timestamp:
- 04/07/08 12:31:41 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ApplicationDefinition/MapSet/MapGroup
v4 v5 4 4 = !MapGroup = 5 5 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:6 A 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: 7 7 8 8 {{{ … … 155 155 !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. 156 156 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 elementfor the center and scale style) that style will not be applied.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 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. 158 158 159 159 === Center and Scale === … … 161 161 This allows you to set the initial view based on a midpoint and a desired scale. 162 162 163 For this to be used, you must include valid CenterX, CenterY and Scale elements within the !InitialView element.163 For this to be used, you must include valid CenterX, CenterY and Scale tags. 164 164 165 165 Example: … … 177 177 This allows you to set the initial view based on a desired bounding box. 178 178 179 For this to be used, you must include valid MinX, MinY, MaxX, and MaxY elements within the !InitialView element.179 For this to be used, you must include valid MinX, MinY, MaxX, and MaxY tags. 180 180 181 181 Example: