Page 1 of 1

zoom and center with Kml layer

PostPosted: 25 May 2016 11:06
by assapan
Hi,
When i set a kmllayer url , the zoom value and center point are ignored/overwritten .
I add a look over internet and found that there is several workaround but i could'nt make it work !!
Anyone has already done it ?

Thanks

Re: zoom and center with Kml layer

PostPosted: 25 May 2016 11:16
by assapan
Sorry,
I found , just set JQGMapV3Options.KmlLayer.Options.Opts.PreserveViewport:=True; solve the problem. :mrgreen: