[Cartoweb-users] initialMapStates for different layers

Simone Frigerio simone.frigerio at univie.ac.at
Wed Nov 10 05:43:39 EST 2010


  Hi folk,
one doubt on initialMapStates settings. I need to show automatically a 
background (default) and a hidden mask (pippo).
I set in server_conf/project.ini:
...
mapInfo.initialMapStates.default.location.bbox = "924693, 226180, 
961394, 247681"
mapInfo.initialMapStates.default.layers.raster.selected = true
...
mapInfo.initialMapStates.pippo.layers.EAR.selected = true
mapInfo.initialMapStates.pippo.layers.EAR.hidden= true
....

Tho choice to activate more MasStates could be done in client.ini.  In 
client.ini "default" is selected automatically, but if I want both the 
MApStates at the beginning, an error occourred (message: not able to 
find Initial MapStates)
The syntax is: initialMapStateId = default, pippo

Which lack in syntax I made?
Best regards.

Simone

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20101110/e5d10502/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature-1.gif
Type: image/gif
Size: 566 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/cartoweb-users/attachments/20101110/e5d10502/attachment.gif 


More information about the Cartoweb-users mailing list