Changes between Version 9 and Version 10 of MapGuideRfc88


Ignore:
Timestamp:
03/23/10 16:52:45 (15 years ago)
Author:
jng
Comment:

back to the drawing board

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc88

    v9 v10  
    1212||Last Modified||Jackie Ng [[Timestamp]]||
    1313||Author||Jackie Ng||
    14 ||RFC Status||ready for review||
     14||RFC Status||draft||
    1515||Implementation Status||pending||
    1616||Proposed Milestone||2.2||
     
    2929== Motivation ==
    3030
    31 There have been many instances on the mapguide user mailing lists of the need to be able to load any given Web Layout with an initial view. Although code samples exist to show how this can be done. This is something that could be supported by the AJAX viewer out of the box, with some simple modifications.
     31There have been many instances on the mapguide user mailing lists (examples: [http://n2.nabble.com/Bypassing-initial-view-at-startup-td1817593.html 1], [http://n2.nabble.com/Dynamically-Setting-Initial-Map-Position-and-Scale-td1818865.html 2], [http://n2.nabble.com/Strating-the-Viewer-with-a-defined-scale-ceter-scale-from-a-link-td1815557.html 3]) of the need to be able to load any given Web Layout with an initial view.
     32
     33Although [http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/InitialMapView code samples exist] to show how this can be done. This is something that could be supported by the AJAX viewer out of the box, with some simple modifications.
    3234
    3335== Proposed Solution ==
     
    4143
    4244If any of these parameters are specified, they will be used instead of the values specified in the Web Layout document.
     45
     46The ultimate effect (and aim of the RFC) is that instead of having to specify the custom point/scale in the web layout document, it can be specified at runtime by passing these values to the AJAX viewer URL as request parameters.
    4347
    4448Though the 4 parameters are optional, restrictions will be placed on how the viewer will accept these parameters:
     
    5963This is a client-side modification. No schema changes are required. No existing APIs are affected. No new APIs are added.
    6064
     65This affects the "Initial View and Scale" command. Invoking this command will use the overridden position/scale values if specified.
     66
    6167== Test Plan ==
    6268
     
    7278
    7379Community
     80
     81== References ==
     82
     83 * [http://trac.osgeo.org/mapguide/wiki/CodeSamples/PHP/InitialMapView A PHP code sample demonstrating the current technique of custom initial view]