[Cartoweb-users] open cartoweb project via link

Oliver Christen oliver.christen at camptocamp.com
Wed Apr 25 05:06:52 EDT 2007


yes,

you can use layer_select=layer1,layer2,layer3... to select the wanted layers
id_recenter_layer and id_recenter_ids to recenter on object
project=nameOfProject to access a project directly

see 
http://www.cartoweb.org/doc_head/docbook/xhtml/dev.newplugin.html#dev.newplugin.special.filters

you have also the possibility to define some initialMapStat in 
server_conf/your_project/your_project.ini
and switch between them with initialState=initialMapStates_id_example
mapInfo.initialMapStates.initialMapStates_id_example... must exist in your 
project ini

regards
Oliver

> Hi,
> is it possible to open cartoweb project with selected layer and chosen
> object to display with http link?
>
> Something like:
> http://localhost/cartoweb3/htdocs/client.php?project=demo&layer=streets&objID=wallstreet
>
> I'd like search for a object in db (in other php application) and then
> display recenter and select it in cartoweb project.
>
> Thanx
>
> wochter
> _______________________________________________
> 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