[Cartoweb-dev] Outline.Ajax.js patch for circle clear

Oliver Christen oliver.christen at camptocamp.com
Wed Mar 26 08:27:18 EDT 2008


thx for the clear circle tips

as for folder id, it is now parametrable in the cvs version 
http://www.cartoweb.org/doc_head/docbook/xhtml/user.config.html#user.config.plugins.folder

regards
Oliver


> ### Eclipse Workspace Patch 1.0
> #P cartoweb3
> Index: plugins/outline/htdocs/js/Outline.ajax.js
> ===================================================================
> RCS file: 
> /var/lib/cvs/public/cartoweb3/plugins/outline/htdocs/js/Outline.ajax.js,v
> retrieving revision 1.3
> diff -u -r1.3 Outline.ajax.js
> --- plugins/outline/htdocs/js/Outline.ajax.js 5 Nov 2007 10:08:44 -0000 
> 1.3
> +++ plugins/outline/htdocs/js/Outline.ajax.js 26 Mar 2008 09:10:31 -0000
> @@ -33,6 +33,7 @@
>         mainmap.getDisplay('map').clearLayer('outline_line');
>         mainmap.getDisplay('map').clearLayer('outline_rectangle');
>         mainmap.getDisplay('map').clearLayer('outline_point');
> +        mainmap.getDisplay('map').clearLayer('outline_circle');
>     }
> };
>
>
> With this line you could clear a circle draw on the map.
>
> I think you could add in docu the fact that people need to change the
>   /* HTML element's id definitions */
>    outlineFolderId: 'folder6',
>
> oultineFolderId to correspond to what they have in their cartoclient.tpl
> First time we use it, our outline (folder3) doesn't update, but the pdf 
> folder which was folder6
>
> Perharps there's a way to get the folderId parameter in the client_conf 
> outline.ini.in.
>
>
> -- 
>
>     Bruno Friedmann  bruno at ioda-net.ch
>
>
> _______________________________________________
> Cartoweb-dev mailing list
> Cartoweb-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-dev
> 



More information about the Cartoweb-dev mailing list