Changes between Version 1 and Version 2 of MapGuideRfc21
- Timestamp:
- 05/30/07 10:10:05 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc21
v1 v2 8 8 ||RFC Template Version||(1.0)|| 9 9 ||Submission Date||May 7, 2007|| 10 ||Last Modified|| Kenneth, GEOGRAF A/S[[Timestamp]]||10 ||Last Modified||Bruce Dechant [[Timestamp]]|| 11 11 ||Author||Kenneth, GEOGRAF A/S|| 12 12 ||RFC Status||draft|| … … 26 26 == Motivation == 27 27 28 The map definition is Xml based, and easy to manipulate. The runtime map is in binary format, and tightly tied to the inner workings of the MapGuide server. It should be expected that the current format will change over time, thus breaking compatibility with external binary reader/writer applications.28 The map definition is Xml based, and easy to manipulate. The runtime map is in binary format, and tightly tied to the inner workings of the !MapGuide server. It should be expected that the current format will change over time, thus breaking compatibility with external binary reader/writer applications. 29 29 30 When using the current MapGuide API, the code for creating and maintaining the runtime map is found in code shared by the server and the API. This means that an application must be adapted to fit a specific version of theMapGuide server. Or at least have the correct version of the codebase (eg. dll's).30 When using the current !MapGuide API, the code for creating and maintaining the runtime map is found in code shared by the server and the API. This means that an application must be adapted to fit a specific version of the !MapGuide server. Or at least have the correct version of the codebase (eg. dll's). 31 31 32 32 == Proposed Solution == 33 33 34 34 There already exists code in the server to create a runtime map from a map defintion. 35 There should be two more functions in the MgMap class:35 There should be two more functions in the !MgMap class: 36 36 {{{ 37 37 void MgMap::UpdateRuntimeMap(MgResourceService* resourceService, MgResourceIdentifier* mapDefinition, CREFSTRING mapName); … … 39 39 }}} 40 40 41 The UpdateMapDefinition should just overwrite the mapDefinition with the current runtimemap.42 The UpdateRuntimeMap should try to sync the runtime map, by settings map properties. This will allow the current change-list scheme to work.41 The !UpdateMapDefinition should just overwrite the mapDefinition with the current runtimemap. 42 The !UpdateRuntimeMap should try to sync the runtime map, by settings map properties. This will allow the current change-list scheme to work. 43 43 44 These two functions should be exposed in the HttpHandler, along with the existing MgMap::CreateMap(...).44 These two functions should be exposed in the !HttpHandler, along with the existing MgMap::!CreateMap(...). 45 45 46 46 == Considerations == … … 77 77 == Test Plan == 78 78 79 Write a small test application that calls the functions through the HttpHandler. Should be very easy to test.79 Write a small test application that calls the functions through the !HttpHandler. Should be very easy to test. 80 80 81 81 == Funding/Resources ==