Changes between Version 4 and Version 5 of MapGuideRfc88
- Timestamp:
- 03/22/10 16:46:09 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc88
v4 v5 33 33 == Proposed Solution == 34 34 35 Modify the AJAX viewer (all 3 languages) to accept the following 3optional request parameters:35 Modify the AJAX viewer (all 3 languages) to accept the following 4 optional request parameters: 36 36 37 37 * X: Specifies the X-coordinate of the custom view center. 38 38 * Y: Specifies the Y-coordinate of the custom view center. 39 39 * SCALE: Specifies the custom scale of the initial view. 40 * BBOX: Specifies the initial custom view as a set of bounding box coordinates (<xmin>,<ymin>,<xmax>,<ymax>) 40 41 41 42 If any of these parameters are specified, they will be used instead of the values specified in the Web Layout document. 42 43 43 Though the 3parameters are optional, restrictions will be placed on how the viewer will accept these parameters:44 Though the 4 parameters are optional, restrictions will be placed on how the viewer will accept these parameters: 44 45 45 46 * If the X parameter is specified but the Y parameter isn't, the X parameter is ignored. Same applies vice versa. The web layout X/Y values are used instead. 46 47 * The SCALE parameter can be specified without the X and Y parameters. The X and Y coordinates from the web layout will be used instead. 47 48 * X and Y parameters can be specified without the SCALE parameter. The scale from the web layout will be used instead. 49 * BBOX is mutually exclusive to the other parameters. The BBOX parameter has precedence over the other parameters. If for some reason BBOX is specified along with X, Y and SCALE, the BBOX parameter will be accepted and the others rejected. 50 * If the BBOX parameter does not have the required number of coordinates, the default web layout settings are used. 48 51 49 52 == Implications == … … 58 61 * Custom Scale will start the map at the default point at the specified scale. 59 62 * Custom X, Y and Scale will start the map at the specified point and scale. 63 * Custom BBOX will start the map at the specified extent, regardless of whether a custom X, Y or SCALE was passed in. 64 * An invalid BBOX parameter will start the map using the default web layout values. 60 65 * Any other illegal combinations are ignored and will use the default web layout values. 61 66