<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>well I would say you probably have some template element
missing or with wrong id.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the JSTrace warn there are several element missing,
folder2, currentScale, location_info, layerReorderDiv</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>just a guess but your templates seem to be messy</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=chastagnol.claire@wanadoo.fr
href="mailto:chastagnol.claire@wanadoo.fr">Claire Chastagnol</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, September 08, 2008 4:25
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] problem with
scales and mapsizes</DIV>
<DIV><BR></DIV>
<P
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"
align=left><BR></P>
<P
style="PADDING-RIGHT: 0pt; PADDING-LEFT: 0pt; PADDING-BOTTOM: 0pt; MARGIN: 0pt; PADDING-TOP: 0pt"
align=left>
<META content=Word.Document>
<META content="Microsoft Word 9">
<META content="Microsoft Word 9"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:HyphenationZone>21</w:HyphenationZone> <w:DoNotOptimizeForBrowser/> </w:WordDocument> </xml><![endif]-->
<STYLE>@page Section1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; mso-header-margin: 36.0pt; mso-footer-margin: 36.0pt; mso-paper-source: 0; }
P.MsoNormal {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Arial; mso-style-parent: ""; mso-pagination: widow-orphan; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Arial; mso-style-parent: ""; mso-pagination: widow-orphan; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: Arial; mso-style-parent: ""; mso-pagination: widow-orphan; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"
}
H1 {
        BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 0cm; FONT-SIZE: 14pt; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt 21.6pt; BORDER-LEFT: windowtext 0.5pt solid; TEXT-INDENT: -21.6pt; LINE-HEIGHT: 150%; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 0.5pt solid; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify; TEXT-DECORATION: underline; mso-pagination: widow-orphan; mso-bidi-font-size: 12.0pt; mso-style-next: Normal; mso-outline-level: 1; mso-list: l0 level1 lfo1; tab-stops: list 21.6pt; mso-element: frame; mso-element-frame-hspace: 7.1pt; mso-element-frame-vspace: 7.1pt; mso-element-wrap: no-wrap-beside; mso-element-anchor-vertical: paragraph; mso-element-anchor-horizontal: column; mso-element-top: .05pt; mso-height-rule: exactly; mso-font-kerning: 0pt; text-underline: single
}
DIV.Section1 {
        page: Section1
}
OL {
        MARGIN-BOTTOM: 0cm
}
UL {
        MARGIN-BOTTOM: 0cm
}
</STYLE>
</P>
<P class=MsoNormal><SPAN>Hi,</SPAN></P>
<P class=MsoNormal><SPAN><!--[if
!supportEmptyParas]--> <!--[endif]--></SPAN></P><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a problem with my defined
scales and mapsizes. When I selecta scale or a mapsize, the map reload but
doesn't change a bit.<BR><BR>This is weird because those properties were
working fine last week. Since then, I put in my projects new plugins:
wmsbrowserlight, layerreorder and pdfexport.<BR>I can't find where I could
have change a thing which could affect the choice of the scale or
mapsize.<BR><BR>The recenter tool of my search plugin is not working anymore
neither.<BR>I have some messages in my ajax debugger with that:<BR><BR></SPAN>
<META content=Word.Document>
<META content="Microsoft Word 9">
<META content="Microsoft Word 9"><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:HyphenationZone>21</w:HyphenationZone> <w:DoNotOptimizeForBrowser/> </w:WordDocument> </xml><![endif]-->
<STYLE> <!-- /* Font Definitions */ @font-face         {font-family:"Arial Unicode MS";         panose-1:2 11 6 4 2 2 2 2 2 4;         mso-font-charset:128;         mso-generic-font-family:swiss;         mso-font-pitch:variable;         mso-font-signature:-1 -369098753 63 0 4129023 0;} @font-face         {font-family:"\@Arial Unicode MS";         panose-1:2 11 6 4 2 2 2 2 2 4;         mso-font-charset:128;         mso-generic-font-family:swiss;         mso-font-pitch:variable;         mso-font-signature:-1 -369098753 63 0 4129023 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal         {mso-style-parent:"";         margin:0cm;         margin-bottom:.0001pt;         mso-pagination:widow-orphan;         font-size:10.0pt;         mso-bidi-font-size:12.0pt;         font-family:Arial;         mso-fareast-font-family:"Times New Roman";         mso-bidi-font-family:"Times New Roman";} h1         {mso-style-next:Normal;         margin-top:0cm;         margin-right:0cm;         margin-bottom:0cm;         margin-left:21.6pt;         margin-bottom:.0001pt;         text-align:justify;         text-indent:-21.6pt;         line-height:150%;         mso-pagination:widow-orphan;         page-break-after:avoid;         mso-outline-level:1;         mso-list:l0 level1 lfo1;         tab-stops:list 21.6pt;         mso-element:frame;         mso-element-frame-hspace:7.1pt;         mso-element-frame-vspace:7.1pt;         mso-element-wrap:no-wrap-beside;         mso-element-anchor-vertical:paragraph;         mso-element-anchor-horizontal:column;         mso-element-top:.05pt;         mso-height-rule:exactly;         font-size:14.0pt;         mso-bidi-font-size:12.0pt;         font-family:"Times New Roman";         border:solid windowtext .5pt;         padding:0cm;         mso-font-kerning:0pt;         text-decoration:underline;         text-underline:single;} pre         {margin:0cm;         margin-bottom:.0001pt;         mso-pagination:widow-orphan;         font-size:10.0pt;         font-family:"Arial Unicode MS";} @page Section1         {size:612.0pt 792.0pt;         margin:70.85pt 70.85pt 70.85pt 70.85pt;         mso-header-margin:36.0pt;         mso-footer-margin:36.0pt;         mso-paper-source:0;} div.Section1         {page:Section1;} /* List Definitions */ @list l0         {mso-list-id:1797721921;         mso-list-template-ids:277932072;} @list l0:level1         {mso-level-style-link:"Titre 1";         mso-level-text:%1;         mso-level-tab-stop:21.6pt;         mso-level-number-position:left;         margin-left:21.6pt;         text-indent:-21.6pt;} @list l0:level2         {mso-level-style-link:"";         mso-level-text:"%1\.%2";         mso-level-tab-stop:28.8pt;         mso-level-number-position:left;         margin-left:28.8pt;         text-indent:-28.8pt;} @list l0:level3         {mso-level-style-link:"";         mso-level-text:"%1\.%2\.%3";         mso-level-tab-stop:36.0pt;         mso-level-number-position:left;         margin-left:36.0pt;         text-indent:-36.0pt;} @list l0:level4         {mso-level-style-link:"";         mso-level-text:"%1\.%2\.%3\.%4";         mso-level-tab-stop:43.2pt;         mso-level-number-position:left;         margin-left:43.2pt;         text-indent:-43.2pt;} @list l0:level5         {mso-level-style-link:"";         mso-level-text:"%1\.%2\.%3\.%4\.%5";         mso-level-tab-stop:50.4pt;         mso-level-number-position:left;         margin-left:50.4pt;         text-indent:-50.4pt;} @list l0:level6         {mso-level-style-link:"";         mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";         mso-level-tab-stop:57.6pt;         mso-level-number-position:left;         margin-left:57.6pt;         text-indent:-57.6pt;} @list l0:level7         {mso-level-style-link:"";         mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";         mso-level-tab-stop:64.8pt;         mso-level-number-position:left;         margin-left:64.8pt;         text-indent:-64.8pt;} @list l0:level8         {mso-level-style-link:"";         mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";         mso-level-tab-stop:72.0pt;         mso-level-number-position:left;         margin-left:72.0pt;         text-indent:-72.0pt;} @list l0:level9         {mso-level-style-link:"";         mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";         mso-level-tab-stop:79.2pt;         mso-level-number-position:left;         margin-left:79.2pt;         text-indent:-79.2pt;} ol         {margin-bottom:0cm;} ul         {margin-bottom:0cm;} --> </STYLE>
<STRONG><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'">Updating
GUI for plugin Location</SPAN></STRONG><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Times New Roman'"><BR>Updating
dhtmlAPI's bbox and factor properties...<BR>AjaxHandler.updateDomElement():
Updating <STRONG>recenter_scale_div</STRONG> element's
<STRONG>innerHTML</STRONG>'s value...<BR>AjaxHandler.updateDomElement():
Updating <STRONG>currentScale</STRONG> element's <STRONG>innerHTML</STRONG>'s
value...<BR>Warning: given element (currentScale) was not found in the
DOM!<BR>AjaxHandler.updateDomElement(): Updating
<STRONG>location_info</STRONG> element's <STRONG>innerHTML</STRONG>'s
value...<BR>Warning: given element (location_info) was not found in the
DOM!<BR><BR><STRONG>Updating GUI for plugin
Layers</STRONG><BR>AjaxHandler.updateDomElement(): Updating
<STRONG>folder2</STRONG> element's <STRONG>innerHTML</STRONG>'s
value...<BR>Warning: given element (folder2) was not found in the
DOM!<BR><BR><STRONG>Updating GUI for plugin
Images</STRONG><BR>AjaxHandler.updateDomElement(): Updating
<STRONG>keymap</STRONG> element's <STRONG>src</STRONG>'s
value...<BR>AjaxHandler.updateDomElement(): Updating <STRONG>scalebar</STRONG>
element's <STRONG>src</STRONG>'s value...<BR>AjaxHandler.updateDomElement():
Updating <STRONG>map_drawing</STRONG> element's
<STRONG>style.display</STRONG>'s value...<BR><BR><STRONG>Updating GUI for
plugin LayerReorder</STRONG><BR>AjaxHandler.updateDomElement(): Updating
<STRONG>layerReorderDiv</STRONG> element's <STRONG>innerHTML</STRONG>'s
value...<BR>Warning: given element (layerReorderDiv) was not found in the
DOM!<BR><BR><STRONG>Updating GUI for plugin
CartoMessages</STRONG><BR>Developer messages:
2<BR> * mapResult returned from
cache<BR> * array (<SPAN>
</SPAN>'ajaxActionRequest' => 'Location.Recenter',<SPAN>
</SPAN>'posted' => '1',<SPAN> </SPAN>'js_folder_idx' =>
'3',<SPAN> </SPAN>'js_toolbar_idx' => '',<SPAN>
</SPAN>'selection_type' => '',<SPAN> </SPAN>'selection_coords' =>
'',<SPAN> </SPAN>'features' => '',<SPAN> </SPAN>'project' =>
'crise_routes',<SPAN> </SPAN>'collapse_keymap' => '0',<SPAN>
</SPAN>'fake_reset' => '',<SPAN> </SPAN>'fake_query' =>
'',<SPAN> </SPAN>'recenter_doit' => '0',<SPAN> </SPAN>'tool'
=> 'zoomin',<SPAN> </SPAN>'openNodes' => '2-1',<SPAN>
</SPAN>'layers' =><SPAN> </SPAN>array (<SPAN>
</SPAN>0 => 'pr',<SPAN> </SPAN>1 =>
'evenements',<SPAN> </SPAN>2 =>
'etat_route',<SPAN> </SPAN>3 =>
'decoup_ADST',<SPAN> </SPAN>4 =>
'urbn',<SPAN> </SPAN>5 =>
'commune34',<SPAN> </SPAN>6 =>
'lieu_dit_h',<SPAN> </SPAN>7 =>
'lieu_dit_nh',<SPAN> </SPAN>8 =>
'L062_087',<SPAN> </SPAN>9 =>
'riv34',<SPAN> </SPAN>10 => 'lacs',<SPAN>
</SPAN>),<SPAN> </SPAN>'recenter_x' => '',<SPAN>
</SPAN>'recenter_y' => '',<SPAN> </SPAN>'id_recenter_layer' =>
'',<SPAN> </SPAN>'id_recenter_ids' => '',<SPAN>
</SPAN>'search_nom' => 'lodève',<SPAN> </SPAN>'search_config' =>
'lieu_dit_h',<SPAN> </SPAN>'search_sort_column' => 'gid',<SPAN>
</SPAN>'search_sort_direction' => 'asc',<SPAN> </SPAN>'search_number'
=> '',<SPAN> </SPAN>'edit_validate_all' => '0',<SPAN>
</SPAN>'recenter_none_1' => '',<SPAN> </SPAN>'recenter_none_0' =>
'',<SPAN> </SPAN>'layersReorder' => '',<SPAN>
</SPAN>'serverType' => '0',<SPAN> </SPAN>'owsUrl' =>
'',<SPAN> </SPAN>'url' => '',<SPAN> </SPAN>'pdfOrientation'
=> 'landscape',<SPAN> </SPAN>'pdfTitle' => 'Evenements routiers
sur le reseau du CG34',<SPAN> </SPAN>'pdfScalebar' => '',<SPAN>
</SPAN>'pdfQueryResult' => '',<SPAN> </SPAN>'pdfLegend' =>
'0',<SPAN> </SPAN>'recenter_scale' => '0',<SPAN>
</SPAN>'mapsize' => '1',<SPAN> </SPAN>'edit_layer' =>
'0',<SPAN> </SPAN>'layersTransparency_1' => '100',<SPAN>
</SPAN>'layersTransparency_0' => '100',<SPAN> </SPAN>'owsUrlList'
=> 'http://www.geosignal.org/cgi-bin/wmsmap',<SPAN>
</SPAN>'pdfFormat' => 'A4',<SPAN> </SPAN>'pdfResolution' =>
'150',<SPAN> </SPAN>'LangCookie' => 'fr',<SPAN>
</SPAN>'TestCookie' => 'OK',<SPAN> </SPAN>'jsTrace' => '3px 208px
160px 282px',<SPAN> </SPAN>'PHPSESSID' =>
'2002bca3cfa474f5b7c2c9be965d3de7',)<BR><BR>User messages:
0<BR><BR><STRONG>Calling Location.Recenter
onAfterAjaxCall()</STRONG><BR>AjaxHandler.updateDomElement(): Updating
<STRONG>id_recenter_ids</STRONG> element's <STRONG>value</STRONG>'s
value...</SPAN><BR><BR><BR>Someone could help
please?<BR><BR>Thanks.<BR>Claire<BR><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><BR></SPAN>
<P> </P>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>