ApplicationDefinition XSD?

3 messages Options
Embed this post
Permalink
Jason Birch

ApplicationDefinition XSD?

Reply Threaded More More options
Print post
Permalink
Is there a new AppDef XSD or documentation available?

I notice that the newer MapGuide template layer definitions include specific xsi:type attributes.  For instance:

<Map xsi:type="MapGuideLayerType">

and from Mike's blog post:

<Map xsi:type="WMSLayerType">

But it appears that there is also an embedded element <Type> which may not match this (for instance, a Map of WMSLayerType can apparently have Types of at least 'Google' and 'WMS'.

Also, am wondering if the following are accessible through the AppDef:

  OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;
  OpenLayers.Util.onImageLoadErrorColor = "transparent";

Jason

_______________________________________________
fusion-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-dev
Mike Adair

Re: ApplicationDefinition XSD?

Reply Threaded More More options
Print post
Permalink
The XSD hasn't been updated since v1.0. Those xsi:type attributes aren't
used by fusion at all, although they may be used by Studio.  For the
WMSLayerType, I just invented that one to be consistent with the
others.  The layer type will be derived from the <Type> element.

Fusion doesn't currently support the image_reload_attempts and
onImageLoadError settings, but shouldn't be too difficult ot add in.

Mike

Jason Birch wrote:

> Is there a new AppDef XSD or documentation available?
>
> I notice that the newer MapGuide template layer definitions include specific xsi:type attributes.  For instance:
>
> <Map xsi:type="MapGuideLayerType">
>
> and from Mike's blog post:
>
> <Map xsi:type="WMSLayerType">
>
> But it appears that there is also an embedded element <Type> which may not match this (for instance, a Map of WMSLayerType can apparently have Types of at least 'Google' and 'WMS'.
>
> Also, am wondering if the following are accessible through the AppDef:
>
>   OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;
>   OpenLayers.Util.onImageLoadErrorColor = "transparent";
>
> Jason
>
> _______________________________________________
> fusion-dev mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/fusion-dev
>
>  

--
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   [hidden email]
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca


_______________________________________________
fusion-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-dev
Jason Birch

RE: ApplicationDefinition XSD?

Reply Threaded More More options
Print post
Permalink
Should I put in an enhancement req for those settings?

Jason

-----Original Message-----
From: Mike Adair [mailto:[hidden email]]
Sent: April-02-09 12:21 PM
To: Jason Birch
Cc: [hidden email]
Subject: Re: [fusion-dev] ApplicationDefinition XSD?

The XSD hasn't been updated since v1.0. Those xsi:type attributes aren't
used by fusion at all, although they may be used by Studio.  For the
WMSLayerType, I just invented that one to be consistent with the
others.  The layer type will be derived from the <Type> element.

Fusion doesn't currently support the image_reload_attempts and
onImageLoadError settings, but shouldn't be too difficult ot add in.

Mike

Jason Birch wrote:

> Is there a new AppDef XSD or documentation available?
>
> I notice that the newer MapGuide template layer definitions include specific xsi:type attributes.  For instance:
>
> <Map xsi:type="MapGuideLayerType">
>
> and from Mike's blog post:
>
> <Map xsi:type="WMSLayerType">
>
> But it appears that there is also an embedded element <Type> which may not match this (for instance, a Map of WMSLayerType can apparently have Types of at least 'Google' and 'WMS'.
>
> Also, am wondering if the following are accessible through the AppDef:
>
>   OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;
>   OpenLayers.Util.onImageLoadErrorColor = "transparent";
>
> Jason
>
> _______________________________________________
> fusion-dev mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/fusion-dev
>
>  

--
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   [hidden email]
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca


_______________________________________________
fusion-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-dev