[Cartoweb-users] Full div template

Oliver Christen oliver.christen at camptocamp.com
Mon Aug 27 02:51:03 EDT 2007


Hi

the actual limitation of the dhtml make that map_rootLayer must be 
positionned absolutly and the positionnement is calculated based on the 
parent "map" element. If the map element has no positionnement, the 
reference used will be the first positionned element in the parent 
hierarchy. If no parent are positionned, the reference used will be the top 
of the page. If you have weird result, try to explicitly set a relative 
positionnement to the "map" element, the dhtml can then calculate a correct 
position for the map_rootLayer element.

regards
Oliver

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> i'm trying to make a full div cartoclient.tpl, but still got a problem
> with the map. The top is not good, and i'd like to know how this top is
> calculated for the "map_rootLayer" div .
>
> Anyone tried this ?
>
> Thanks.
>
> Sylvain B.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGzp2tit+Ro3cR7XYRApYzAJ9M//oEBOKA4LoQDBhk1yyTruZ9mwCgthdi
> sogdxo8CMgzk0YCR1TdP2qc=
> =QYXv
> -----END PGP SIGNATURE-----
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list