[Cartoweb-users] Re: layers default

Oliver Christen oliver.christen at camptocamp.com
Wed Aug 2 01:58:01 EDT 2006


Hi Daniel

in your configuration file, I see
mapInfo.initialMapStates.default.layers.baseigac.divpol.selected = true
That layer should be displayed by default.
But are you sure of the naming ? "baseigac.divpol" seems weird to me. Why are there a dot (.) in the middle? Is your layer id really "baseigac.divpol"?
Shouldnt it be either "baseigac" or "divpol" ?

Regards
Oliver
  ----- Original Message ----- 
  From: daniel jaimes 
  To: cartoweb ; Oliver Christen ; Alexandre Saunier 
  Sent: Monday, July 31, 2006 6:06 PM
  Subject: layers default


  hi list,

  that I must do so that when calls a project to layer it is visualized by default?    example: one of my projects is called dptons, dptons.ini is the following one: 

  ; plugin configuration and loading
  mapInfo.loadPlugins = outline,mapOverlay, hilight, exportPdf

  ; initial map states
  ;apInfo.initialMapStates.default.location.bbox = "142776, 4757216, 1083857, 5409261"
  mapInfo.initialMapStates.default.location.bbox = "1024087, 1234846, 1261164, 1577335"
  mapInfo.initialMapStates.default.layers.raster.selected = false
  mapInfo.initialMapStates.default.layers.isoyetas.selected = false
  mapInfo.initialMapStates.default.layers.indice.selected = false
  mapInfo.initialMapStates.default.layers.temperns.selected = false
  mapInfo.initialMapStates.default.layers.baseigac.divpol.selected = true
  mapInfo.initialMapStates.default.layers.veredans.selected = false
  mapInfo.initialMapStates.default.layers.cuencas.selected = false
  mapInfo.initialMapStates.default.layers.sucuenca.selected = false
  mapInfo.initialMapStates.default.layers.micuenca.selected = false
  mapInfo.initialMapStates.default.layers.zonasvns.selected = false
  mapInfo.initialMapStates.default.layers.redhidri.selected = false



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

  LLama Gratis a cualquier PC del Mundo.
  Llamadas a fijos y móviles desde 1 céntimo por minuto.
  http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060802/4e6c5d7d/attachment.html


More information about the Cartoweb-users mailing list