Opened 16 years ago
Closed 16 years ago
#289 closed enhancement (fixed)
Dynamic loading of scripts for commercial map layer
Reported by: | liuar | Owned by: | zjames |
---|---|---|---|
Priority: | P2 | Milestone: | Future |
Component: | Core | Version: | SVN |
Severity: | Major | Keywords: | |
Cc: | Browser: | All | |
External ID: | Operating System: | All | |
state: | New |
Description ¶
In order to load the scripts for commercial map layers on the fly, users could add commercial scripts in the Extension section of the ApplicationDefinition and load thoese scripts dynamically. So that the user needn't to modify all the templates to support commercial map layers. To load those scripts on demand without break current architecture of Fusion code. The best approch is adding them in Fusion.js.
Change History (7)
by , 16 years ago
by , 16 years ago
Attachment: | LoadCommercialScripts.patch added |
---|
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 16 years ago
Attachment: | LoadCommercialScripts2.patch added |
---|
comment:2 by , 16 years ago
Hi Zak,
I uploaded a patch which could also get the commercial scripts from ApplicationDefinition.xml.
Arthur
by , 16 years ago
Attachment: | LoadCommercialScripts3.patch added |
---|
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Version: | 1.1.1 → SVN |
In [1899] Applied liuar's latest patch which doesn't attempt to load apis from the ApplicationDefinition unless it's stored in a MapGuide repository.
Arthur,
We reviewed the patch and unfortunately it needs some modification before we can put it in trunk because it makes an assumption that will break many applications. If the ApplicationDefinition is not stored in the repository or the Fusion application uses MapServer instead of MapGuide, this patch will cause a failure.
If you can make modifications so that the addition is entirely skipped in those cases, then we can apply it.