KML and default zoom

  • DavidPinheiro
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #798 by DavidPinheiro
KML and default zoom was created by DavidPinheiro
Hi Dima,

A problem i've found in ZHGoogleMap is that if i define a default Zoom, if i put a KML which is bigger than the current view, the zoom gets automatically changed.

Is there any way to force the zoom?

By the way, another question. Is it possible to remove the text at the end of the map ("Dados do mapa 2012 ...")?

All the best,
David
Attachments:

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #799 by Dima
Replied by Dima on topic Re: KML and default zoom
Hi David
In this case create your KML layer in paths tab.
Create path, set kml field to your URL and set the field near this field (sorry I remember how it prompt) to Unchanged. It is list item with two values: zoom and unchanged.

As for text on map bottom - it is done by Google Maps API, and I don't try to manage it

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • DavidPinheiro
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #800 by DavidPinheiro
Replied by DavidPinheiro on topic Re: KML and default zoom
Thanks Dima,

Sorry to bother you, but i still have one problem.

I've put the kml on the paths. But that kml is just a big polygon. A filled polygon.
So when the user clicks inside this polygon it shown the InfoWindow.
Is there any way not to show the InfoWindow?

Thanks.
David

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #801 by Dima
Replied by Dima on topic Re: KML and default zoom
Hi.

I think you should read about kml-format, and check can you do this by it. May be you can set empty infowin (set "" for infobox) or the other values in this file. I can't control anything else - if I use "standard way" of google's call for kml.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.278 seconds
Powered by Kunena Forum