Web Layout XML Schema Update (Re: RFC 66)

7 messages Options
Embed this post
Permalink
Jackie Ng

Web Layout XML Schema Update (Re: RFC 66)

Reply Threaded More More options
Print post
Permalink
Hi All,

Since RFC 66 is introducing a schema update to the WebLayout xml schema, could we possibly slip in these additions to the schema?

1. User-defined selection color
2. Map request image format

These two things I would imagine are the most commonly modified things in the AJAX viewer. Having these in the web layout would save having to hack AJAX viewer template files for every installation.

- Jackie

Kenneth Skovhede, GEOGRAF A/S

Re: Web Layout XML Schema Update (Re: RFC 66)

Reply Threaded More More options
Print post
Permalink
I think they fit in the MapDefinition?
That way, both Fusion and WebLayouts can get the functionality.

OTOH, it is a layout issue...

Regards, Kenneth Skovhede, GEOGRAF A/S



Jackie Ng skrev:

> Hi All,
>
> Since RFC 66 is introducing a schema update to the WebLayout xml schema,
> could we possibly slip in these additions to the schema?
>
> 1. User-defined selection color
> 2. Map request image format
>
> These two things I would imagine are the most commonly modified things in
> the AJAX viewer. Having these in the web layout would save having to hack
> AJAX viewer template files for every installation.
>
> - Jackie
>
>
>  
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Jason Birch

Re: Web Layout XML Schema Update (Re: RFC 66)

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jackie Ng
I'm pretty sure (but not 100%) that these are already supported in Fusion's ApplicationDefinition.

----- Original Message -----
From: [hidden email] <[hidden email]>
To: MapGuide Internals Mail List <[hidden email]>
Sent: Thu Jul 16 23:19:41 2009
Subject: Re: [mapguide-internals] Web Layout XML Schema Update (Re: RFC 66)

I think they fit in the MapDefinition?
That way, both Fusion and WebLayouts can get the functionality.

OTOH, it is a layout issue...

Regards, Kenneth Skovhede, GEOGRAF A/S



Jackie Ng skrev:

> Hi All,
>
> Since RFC 66 is introducing a schema update to the WebLayout xml schema,
> could we possibly slip in these additions to the schema?
>
> 1. User-defined selection color
> 2. Map request image format
>
> These two things I would imagine are the most commonly modified things in
> the AJAX viewer. Having these in the web layout would save having to hack
> AJAX viewer template files for every installation.
>
> - Jackie
>
>
>  
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals

_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Jackie Ng

Re: Web Layout XML Schema Update (Re: RFC 66)

Reply Threaded More More options
Print post
Permalink
I know selection color is definitely supported in the app definition, map image format requires a hacking of openlayers.js to my knowledge.

- Jackie

Jason Birch wrote:
I'm pretty sure (but not 100%) that these are already supported in Fusion's ApplicationDefinition.

----- Original Message -----
From: mapguide-internals-bounces@lists.osgeo.org <mapguide-internals-bounces@lists.osgeo.org>
To: MapGuide Internals Mail List <mapguide-internals@lists.osgeo.org>
Sent: Thu Jul 16 23:19:41 2009
Subject: Re: [mapguide-internals] Web Layout XML Schema Update (Re: RFC 66)

I think they fit in the MapDefinition?
That way, both Fusion and WebLayouts can get the functionality.

OTOH, it is a layout issue...

Regards, Kenneth Skovhede, GEOGRAF A/S



Jackie Ng skrev:
> Hi All,
>
> Since RFC 66 is introducing a schema update to the WebLayout xml schema,
> could we possibly slip in these additions to the schema?
>
> 1. User-defined selection color
> 2. Map request image format
>
> These two things I would imagine are the most commonly modified things in
> the AJAX viewer. Having these in the web layout would save having to hack
> AJAX viewer template files for every installation.
>
> - Jackie
>
>
>  
_______________________________________________
mapguide-internals mailing list
mapguide-internals@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals

_______________________________________________
mapguide-internals mailing list
mapguide-internals@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Jason Birch

RE: Web Layout XML Schema Update (Re: RFC 66)

Reply Threaded More More options
Print post
Permalink
Nope, map image format is specifiable in the Map's Extension section as ImageFormat, and has been since at least 1.1.  That was the one I was more sure of because I use it.

<Map xsi:type="MapGuideLayerType">
 <Type>MapGuide</Type>
 <SingleTile>true</SingleTile>
 <Extension>
   <ResourceId>Library://Nanaimo/Apps/NanaimoMap/Maps/Themes/Default.MapDefinition</ResourceId>
   <ImageFormat>PNG8</ImageFormat>

Jason

-----Original Message-----
From: Jackie Ng
Sent: Friday, July 17, 2009 8:42 AM
To: [hidden email]
Subject: Re: [mapguide-internals] Web Layout XML Schema Update (Re: RFC 66)

I know selection color is definitely supported in the app definition, map
image format requires a hacking of openlayers.js to my knowledge.
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Jackie Ng

RE: Web Layout XML Schema Update (Re: RFC 66)

Reply Threaded More More options
Print post
Permalink
Sigh, Fusion gets all the goodies! :-)

- Jackie

Jason Birch wrote:
Nope, map image format is specifiable in the Map's Extension section as ImageFormat, and has been since at least 1.1.  That was the one I was more sure of because I use it.

<Map xsi:type="MapGuideLayerType">
 <Type>MapGuide</Type>
 <SingleTile>true</SingleTile>
 <Extension>
   <ResourceId>Library://Nanaimo/Apps/NanaimoMap/Maps/Themes/Default.MapDefinition</ResourceId>
   <ImageFormat>PNG8</ImageFormat>

Jason

-----Original Message-----
From: Jackie Ng
Sent: Friday, July 17, 2009 8:42 AM
To: mapguide-internals@lists.osgeo.org
Subject: Re: [mapguide-internals] Web Layout XML Schema Update (Re: RFC 66)

I know selection color is definitely supported in the app definition, map
image format requires a hacking of openlayers.js to my knowledge.
_______________________________________________
mapguide-internals mailing list
mapguide-internals@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Mike Adair

Re: Web Layout XML Schema Update (Re: RFC 66)

Reply Threaded More More options
Print post
Permalink
Also allowed in the MapGuide extension are

SelectionType (default 'INTERSECTS'),
SelectionColor
SelectionFormat (default 'PNG')
SelectionAsOverlay (true/false)

Mike



Jackie Ng wrote:

> Sigh, Fusion gets all the goodies! :-)
>
> - Jackie
>
>
> Jason Birch wrote:
>  
>> Nope, map image format is specifiable in the Map's Extension section as
>> ImageFormat, and has been since at least 1.1.  That was the one I was more
>> sure of because I use it.
>>
>> <Map xsi:type="MapGuideLayerType">
>>  <Type>MapGuide</Type>
>>  <SingleTile>true</SingleTile>
>>  <Extension>
>>  
>> <ResourceId>Library://Nanaimo/Apps/NanaimoMap/Maps/Themes/Default.MapDefinition</ResourceId>
>>    <ImageFormat>PNG8</ImageFormat>
>>
>> Jason
>>
>> -----Original Message-----
>> From: Jackie Ng
>> Sent: Friday, July 17, 2009 8:42 AM
>> To: [hidden email]
>> Subject: Re: [mapguide-internals] Web Layout XML Schema Update (Re: RFC
>> 66)
>>
>> I know selection color is definitely supported in the app definition, map
>> image format requires a hacking of openlayers.js to my knowledge.
>> _______________________________________________
>> mapguide-internals mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>
>>
>>    
>
>  

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

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


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