[Cartoweb-users] problem with scales and mapsizes

Claire Chastagnol chastagnol.claire at wanadoo.fr
Mon Sep 8 10:25:33 EDT 2008


 <!--  /* 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;} @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;} -->   
Hi,
   
  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.

This is weird because those properties were working fine last week. Since then, I put in my projects new plugins: wmsbrowserlight, layerreorder and pdfexport.
I can't find where I could have change a thing which could affect the choice of the scale or mapsize.

The recenter tool of my search plugin is not working anymore neither.
I have some messages in my ajax debugger with that:

 <!--  /* 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;} --> Updating GUI for plugin Location
 Updating dhtmlAPI's bbox and factor properties...
 AjaxHandler.updateDomElement(): Updating recenter_scale_div element's innerHTML's value...
 AjaxHandler.updateDomElement(): Updating currentScale element's innerHTML's value...
 Warning: given element (currentScale) was not found in the DOM!
 AjaxHandler.updateDomElement(): Updating location_info element's innerHTML's value...
 Warning: given element (location_info) was not found in the DOM!
 
 Updating GUI for plugin Layers
 AjaxHandler.updateDomElement(): Updating folder2 element's innerHTML's value...
 Warning: given element (folder2) was not found in the DOM!
 
 Updating GUI for plugin Images
 AjaxHandler.updateDomElement(): Updating keymap element's src's value...
 AjaxHandler.updateDomElement(): Updating scalebar element's src's value...
 AjaxHandler.updateDomElement(): Updating map_drawing element's style.display's value...
 
 Updating GUI for plugin LayerReorder
 AjaxHandler.updateDomElement(): Updating layerReorderDiv element's innerHTML's value...
 Warning: given element (layerReorderDiv) was not found in the DOM!
 
 Updating GUI for plugin CartoMessages
 Developer messages: 2
    * mapResult returned from cache
    * array (  'ajaxActionRequest' => 'Location.Recenter',  'posted' => '1',  'js_folder_idx' => '3',  'js_toolbar_idx' => '',  'selection_type' => '',  'selection_coords' => '',  'features' => '',  'project' => 'crise_routes',  'collapse_keymap' => '0',  'fake_reset' => '',  'fake_query' => '',  'recenter_doit' => '0',  'tool' => 'zoomin',  'openNodes' => '2-1',  'layers' =>   array (    0 => 'pr',    1 => 'evenements',    2 => 'etat_route',    3 => 'decoup_ADST',    4 => 'urbn',    5 => 'commune34',    6 => 'lieu_dit_h',    7 => 'lieu_dit_nh',    8 => 'L062_087',    9 => 'riv34',    10 => 'lacs',  ),  'recenter_x' => '',  'recenter_y' => '',  'id_recenter_layer' => '',  'id_recenter_ids' => '',  'search_nom' => 'lodève',  'search_config' => 'lieu_dit_h',  'search_sort_column' => 'gid',  'search_sort_direction' => 'asc',  'search_number' => '',  'edit_validate_all' => '0',  'recenter_none_1' => '',  'recenter_none_0' => '',  'layersReorder' => '',  'serverType' => '0',  'owsUrl' => '',  'url' => '',  'pdfOrientation' => 'landscape',  'pdfTitle' => 'Evenements routiers sur le reseau du CG34',  'pdfScalebar' => '',  'pdfQueryResult' => '',  'pdfLegend' => '0',  'recenter_scale' => '0',  'mapsize' => '1',  'edit_layer' => '0',  'layersTransparency_1' => '100',  'layersTransparency_0' => '100',  'owsUrlList' => 'http://www.geosignal.org/cgi-bin/wmsmap',  'pdfFormat' => 'A4',  'pdfResolution' => '150',  'LangCookie' => 'fr',  'TestCookie' => 'OK',  'jsTrace' => '3px 208px 160px 282px',  'PHPSESSID' => '2002bca3cfa474f5b7c2c9be965d3de7',)
 
 User messages: 0
 
 Calling Location.Recenter onAfterAjaxCall()
 AjaxHandler.updateDomElement(): Updating id_recenter_ids element's value's value...


Someone could help please?

Thanks.
Claire

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080908/0c8e7998/attachment-0001.html


More information about the Cartoweb-users mailing list