[mapguide-users] RE: re: flexible web layouts
Jason Birch
jason at jasonbirch.com
Wed Jun 2 22:01:29 EDT 2010
Just some pointers...
You can only change the appdef by directly modifying the XML resource
(or a copy of it in the session repository).
I haven't tried this myself, but I believe that the appdef url
parameter will take relative references as well, so you may be able to
point to a PHP/.Net script that dynamically outputs the appdef.
I believe that you can also specify a "theme" as a parameter which
will load a mapdefinition. Have to say I'm not current on doing this
with the Fusion 2; maybe someone else knows whether its working in the
latest MG betas?
Jason
On 2010-06-02, belleP <unique_gurl24 at yahoo.com> wrote:
>
> Hi again,
>
> This time i manage to correctly display google map with mapguide. I just
> forgot to download the svn trunk.
> But then i am unable to select features. It always throw back ajaxerror
> (fusion error, ajaxerror). But when i remove the google map, it works
> perfectly. What am I missing?
>
> Question again,
>
> Can i change resourceid in applicationdefinition.xml programmatically? I
> noticed that fusion can pass featuresource as parameter in index.html like:
> http://localhost/mapguide2010/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library://...
>
> can i pass a mapdefinition instead? how? sorry for this, maybe a noob
> question but i really dont know how to achieve this.
>
> Thanks guys, hope fo some enlightenment...
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/re-flexible-web-layouts-tp2660073p5130032.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
More information about the mapguide-users
mailing list