[Cartoweb-users] Plugin search how-to configure pre-programmedscale for recenter

Oliver Christen oliver.christen at camptocamp.com
Wed Nov 14 06:00:32 EST 2007


Hi

this is not possible, by default you can only set one scale value.

if you want to set more than one scale value, you will have to extend the 
server part of coreplugin "location"
to add conditional recenterScale usage depending of the id's related layer.

regards
Oliver

> Hi All,
>
> I'm looking for a way to way different scales for differents layers when 
> we recenter on id from a search (guided mode) result.
>
> I've read in doc for plugin search in function recenter
>
> /* do not use the recenter_scale parameter if you recenter on ids,
>        only use it with recenter on x,y.
>        you can set the recenter scale in location.ini on server side
> */
>
> But when I'm looking inside location.ini (and doc) I only fount the 
> resultDefaultscale.
>
> How can I add differents scales for different layers ? What the keywords 
> to use ?
>
> exemple : street should be show in 2500, house must be show in 500, 
> default is 1000.
>
> Many thanks to guide me to a solution (even bad hack would be appreciate)
>
>
>
> -- 
>
>     Bruno Friedmann  bruno at ioda-net.ch
>
> _______________________________________________
> 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