<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I suspect that the cause of the problem is that the Sheboygan
sample layer uses a 1.0.0 layer definition and your own layer uses a 1.1.0
layer definition. The SizeContext element was added to the StrokeType element in
the later version of the schema, thus if you want to use the Theme code with a
newer layer, you&#8217;ll need to update the style template (arearuletemplate.xml)
to include the extra setting.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>BTW &#8211; SizeContext can be set to either DeviceUnits or
MappingUnits. If set to DeviceUnits, the line width is interpreted in the units
of your screen, and remains constant regardless of the map scale. If set to
MappingUnits, it is interpreted as a real-world size, and thus will increase in
width on the screen as you zoom in.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Chris.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Arnaud De
Groof<br>
<b>Sent:</b> Monday, January 12, 2009 7:30 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] RE: Theme layer application - point
feature layers<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Thanks for this information; I have modified the file
(../phpviewersample/theme/classes/theme.php) according your remarks. Now, I
have the possibility to select the point layers. I changed also the different
reference to the &lt;AreaRule&gt; by &lt;PointRule&gt;. I do not know if these
changes are correct because I have a problem with this function (polygon
layers), see <a
href="http://lists.osgeo.org/pipermail/mapguide-users/2009-January/016202.html">http://lists.osgeo.org/pipermail/mapguide-users/2009-January/016202.html</a>
</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Regards,</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Arnaud De Groof </span><o:p></o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Chris
Claydon<br>
<b>Sent:</b> vendredi 9 janvier 2009 19:53<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> [mapguide-users] RE: Theme layer application - point feature
layers</span><o:p></o:p></p>

</div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The sample code generates &lt;AreaRule&gt; elements in a layer
definition, and therefore applies only to polygon styles. It should be
relatively easy to modify it to handle point layers and styles instead. </span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Arnaud De
Groof<br>
<b>Sent:</b> Friday, January 09, 2009 2:49 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> [mapguide-users] Theme layer application - point feature layers</span><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hello,</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Is
it possible to use the application &#8220;Theme Layer&#8221; with point feature
layers? The code sample (phpviewersample/theme) allows only selecting the
polygon feature layers.</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Thanks,</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Arnaud
De Groof</span><o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'><strong><span
style='font-family:"Tahoma","sans-serif";color:blue'>

<hr size=2 width="100%" align=center>

</span></strong></div>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>E-MAIL DISCLAIMER</span></strong><o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:blue'>The
present message may contain confidential and/or legally privileged information.
If you are not the intended addressee and in case of a transmission error,
please notify the sender immediately and destroy this E-mail. Disclosure,
reproduction or distribution of this document and its possible attachments is
strictly forbidden.</span><o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:blue'>SPACEBEL
denies all liability for incomplete, improper, inaccurate, intercepted,
(partly) destroyed, lost and/or belated transmission of the current information
given that unencrypted electronic transmission cannot currently be guaranteed
to be secure or error free.<br>
Upon request or in conformity with formal, contractual agreements, an
originally signed hard copy will be sent to you to confirm the information
contained in this E-mail.</span><o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:blue'>SPACEBEL
denies all liability where E-mail is used for private use.</span><o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:blue'>SPACEBEL
cannot be held responsible for possible viruses that might corrupt this message
and/or your computer system.</span><o:p></o:p></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>

<hr size=2 width="100%" align=center>

</span></div>

<div class=MsoNormal align=center style='text-align:center'><strong><span
style='font-family:"Tahoma","sans-serif";color:blue'>

<hr size=2 width="100%" align=center>

</span></strong></div>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'>E-MAIL DISCLAIMER</span></strong><o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:blue'>The
present message may contain confidential and/or legally privileged information.
If you are not the intended addressee and in case of a transmission error,
please notify the sender immediately and destroy this E-mail. Disclosure,
reproduction or distribution of this document and its possible attachments is
strictly forbidden.</span><o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:blue'>SPACEBEL
denies all liability for incomplete, improper, inaccurate, intercepted,
(partly) destroyed, lost and/or belated transmission of the current information
given that unencrypted electronic transmission cannot currently be guaranteed
to be secure or error free.<br>
Upon request or in conformity with formal, contractual agreements, an
originally signed hard copy will be sent to you to confirm the information
contained in this E-mail.</span><o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:blue'>SPACEBEL
denies all liability where E-mail is used for private use.</span><o:p></o:p></p>

<p><span style='font-size:7.5pt;font-family:"Arial","sans-serif";color:blue'>SPACEBEL
cannot be held responsible for possible viruses that might corrupt this message
and/or your computer system.</span><span style='font-size:10.0pt'><o:p></o:p></span></p>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:blue'>

<hr size=2 width="100%" align=center>

</span></div>

</div>

</body>

</html>