[Cartoweb-users] problem with scales and mapsizes

Oliver Christen oliver.christen at camptocamp.com
Tue Sep 9 02:01:42 EDT 2008


well I would say you probably have some template element missing or with wrong id.

the JSTrace warn there are several element missing, folder2, currentScale, location_info, layerReorderDiv

just a guess but your templates seem to be messy

regards
Oliver
  ----- Original Message ----- 
  From: Claire Chastagnol 
  To: cartoweb-users at lists.maptools.org 
  Sent: Monday, September 08, 2008 4:25 PM
  Subject: [Cartoweb-users] problem with scales and mapsizes






  Hi,

  <!--[if !supportEmptyParas]--> <!--[endif]-->

  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:

  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






------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080909/e1df4d66/attachment-0001.html


More information about the Cartoweb-users mailing list