Changes between Version 4 and Version 5 of MapGuideRfc72
- Timestamp:
- 08/06/09 01:53:32 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MapGuideRfc72
v4 v5 9 9 ||Last Modified|| Arthur Liu [[Timestamp]]|| 10 10 ||Author||Arthur Liu|| 11 ||RFC Status|| draft||11 ||RFC Status||ready for review || 12 12 ||Implementation Status||under development|| 13 13 ||Proposed Milestone||2.2|| 14 ||Assigned PSC guide(s)||Tom Fukushima ?||14 ||Assigned PSC guide(s)||Tom Fukushima|| 15 15 ||'''Voting History'''||(vote date)|| 16 16 ||+1|| || … … 34 34 [Detailed Information] http://trac.osgeo.org/fusion/wiki/MapGuideCommercialOverlays 35 35 36 MapGuide templates should have the capability to support the commercial map services too. But it's not proper to add all the commercial api script tags into MapGuide templates by default. We need to provide a more convenient approach to add these scripts.36 MapGuide templates should also have the capability to support the commercial map services. But it's not proper to add all the commercial api script tags into MapGuide templates by default because of script loading time. We need to provide a more convenient approach to add these scripts. 37 37 38 38 == Proposed Solution == … … 71 71 var xhr = new XMLHttpRequest(); 72 72 73 xhr.open("GET", "http://"+location.hostname+"/mapguide2010/mapagent/mapagent.fcgi?OPERATION=GETRESOURCECONTENT&VERSION=1.0.0&LOCALE=en&CLIENTAGENT=MapGuide+Developer&RESOURCEID=" + appDefUrl + "&FORMAT=text%2Fxml", false);73 xhr.open("GET", [MapAgentUrl]?OPERATION=GETRESOURCECONTENT&VERSION=1.0.0&LOCALE=en&CLIENTAGENT=MapGuide+Developer&RESOURCEID=" + appDefUrl + "&FORMAT=text%2Fxml", false); 74 74 xhr.send(null); 75 75 var appDefXML = xhr.responseXML.documentElement; … … 96 96 The original Window.onload event will be replaced by init function which will be called on demand. 97 97 98 * To get the mapAgentUrl, we can just reuse some code in Fusion 99 100 * For the lazy loading commercial API scripts, we also need to provide a method to verify if all the needed scripts have been loaded. Then to intitialize the Fusion. 101 98 102 == Implications == 99 103