Problem loading KLM

  • Roberto Cravallo
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 months ago #10902 by Roberto Cravallo
Problem loading KLM was created by Roberto Cravallo
I tried all kinds of stuff, but can't figure it out.

My KLM is in "/images/_XXXXXXXX_/-KML/2009/porsche2009_6_NEU.kml" but will not load if I put this in the KLM-Layer field. I have to put the whole path with "http://www" etc. in there to load the KML.

That is a pain, should it not work as above.

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

More
7 years 3 months ago #10907 by Dima
Replied by Dima on topic Problem loading KLM
You have to put KML files into folder to which you can access from web. And you have to enter full path with http.
Maps API doesn't support relative path to files

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.

More
7 years 3 months ago #10948 by scrat
Replied by scrat on topic Problem loading KLM
About one month, I have some problem with loading my kml - kmz files .
It not show the layer, and I don't know because before it worked fine.
My Joomla Version 3.6.2
please any solution?
I have many kml layer to load ;(

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

More
7 years 3 months ago - 7 years 3 months ago #10949 by Dima
Replied by Dima on topic Problem loading KLM
Did you check your KML files size to display in one page?
Check "Size and complexity restrictions for KML rendering" on page
developers.google.com/maps/documentation/javascript/kmllayer

Probably you hit it's limits.
Try to disable a few paths with files and check.

The other thing - check API version in component options. If it is empty, I use "experimental" version, and they can add some changes, or errors.
You can enter number 3 to have last stable version
I supported this versioning model developers.google.com/maps/documentation/javascript/versions
ie you can enter 3 and have last release, or for example 3.26 to have this version. Empty version field like 3.exp

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 7 years 3 months ago by Dima.

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

More
7 years 3 months ago #10950 by scrat
Replied by scrat on topic Problem loading KLM
Thanks Dima,
thanks for your answer.
I use the Google Maps Embed API enabled in my Google API Key Developers tools
My files size it's 133.597 bytes (not too big).
I don't know how disabled the path or I don't understand what you mean to me.
Is it any debug mode to verify the error?
This limit it's a breaking a news of Google Maps API Tools for me... :O

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

More
7 years 3 months ago #10951 by scrat
Replied by scrat on topic Problem loading KLM
PS= I have a javascript function and it load my kml layer in my website page, and it work fine.
If you want to see visit
This message contains confidential information

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

Time to create page: 0.102 seconds

Donate


Go to top