CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

zoom and center with Kml layer

by assapan » 25 May 2016 11:06

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
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by assapan » 25 May 2016 11:16

Sorry,
I found , just set JQGMapV3Options.KmlLayer.Options.Opts.PreserveViewport:=True; solve the problem. :mrgreen:
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France


Return to JQGMap3

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.