Changes between Version 4 and Version 5 of MapGuideRfc72


Ignore:
Timestamp:
Aug 6, 2009, 1:53:32 AM (15 years ago)
Author:
liuar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MapGuideRfc72

    v4 v5  
    99||Last Modified|| Arthur Liu [[Timestamp]]||
    1010||Author||Arthur Liu||
    11 ||RFC Status||draft||
     11||RFC Status||ready for review ||
    1212||Implementation Status||under development||
    1313||Proposed Milestone||2.2||
    14 ||Assigned PSC guide(s)||Tom Fukushima?||
     14||Assigned PSC guide(s)||Tom Fukushima||
    1515||'''Voting History'''||(vote date)||
    1616||+1|| ||
     
    3434[Detailed Information] http://trac.osgeo.org/fusion/wiki/MapGuideCommercialOverlays
    3535
    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.
     36MapGuide 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.
    3737
    3838== Proposed Solution ==
     
    7171        var xhr = new XMLHttpRequest();
    7272
    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);
    7474        xhr.send(null);
    7575        var appDefXML = xhr.responseXML.documentElement;
     
    9696The original Window.onload event will be replaced by init function which will be called on demand.
    9797
     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
    98102== Implications ==
    99103