Support » Plugin: Comprehensive Google Map Plugin » [Plugin: Comprehensive Google Map Plugin] KML file not loading, maps not displaying as expected

  • Resolved lydiamann592

    (@lydiamann592)


    I assume there is a jQuery conflict keeping my map from loading with the KML file associated, but I am out of ideas for resolving it.

    I’ve followed the KML samples for generating my file “ya-GoogleMap.kml” and linked to it on the first map on this page:
    http://www.yogaanatomy.org/staging/countries/
    The second map on that page is an attempt using the “Location” field – not a workable solution since there are too many points, with more to come.

    I’ll be happy to donate to support your development, if I can get the plugin working correctly, so I’m hopeful you’ll be able to help me solve this.

    http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    Hi Lydia,

    Ofcourse I want to help you and happy to have a look.
    It’s just I am at work now, and will be able to have a look from home in 6-7 hours.

    Please be patient, and I will attend to it ASAP

    Thank you

    Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    I had a quick look: it looks like the KML does generate the map,
    It’s just the zoom is off. From memory setting zoom in the plugin options does not affect the KML, so the zoom info should be provided within KML itself.

    Will have a look later as promised

    Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    I found something that maybe will resolve your problem:
    http://stackoverflow.com/questions/8187837/google-maps-zoom-gets-over-riden-when-using-a-kml-file

    Will test tonight and release the fix

    Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    I have a question for you, when you generated the KMl file, how can you be sure that it is properly constructed? have you tested it after generation? Did you get any preview that tells you what your map will look like?

    You have typos in your KML file. Look here at the snippet from your KML:

    <Placemark>
        <name>Denmark</name>
        <Point>
          <coordinates>56.26392,9.501785</coordinates>
        </Point>
      </Placemark>
    
     <Placemark>
        <name>
    
      <Placemark>
        <name>England</name>
        <Point>
          <coordinates>52.355518,-1.17432</coordinates>
        </Point>
      </Placemark>

    You see the problem? Extra ‘placemark’ and ‘name’ tags unclosed! Many places are like that 🙁

    You can use this website for preview:
    http://display-kml.appspot.com/

    Thank you so much. I am very grateful for your prompt response.

    I didn’t know how to test the KML so that site is a big help.

    I hope to be able to get this all fixed up and will post here when I do.

    Plugin Contributor alexanderzagniotov

    (@alexanderzagniotov)

    Beware of copy/paste mistakes… Very dangerous 🙂

    I am having the same loading issue. Please help, I have tried disabling all my other plug ins and nothing is working. My site with the map not working, http://www.micc-or.org/?page_id=251

    I did what I could but was never able to get this to load and since gave up. 77duda77, if you work it out, please let me know how.

    This is the first time I created my own wordpress template. Could it have something to do with some code I didn’t put in somewhere?

    When I changed the theme I got this error,
    ×

    ATTENTION! (by Comprehensive Google Map Plugin)

    Dear blog/website owner,
    Google returned the following error when trying to load KML file:

    The KML file is not a valid KML, KMZ or GeoRSS document. (INVALID_DOCUMENT)

    The map did show up though.

    Ok I figured it out. Due to this being the first wordpress theme I have ever done I was missing <?php wp_footer(); ?> in the footer.php which then was not writing any of the jquery script to populate the map.

    Thanks for trying to look into it.

    good troubleshooting 77duda77
    I may go back to mine at some point to try again.
    Congratulations on developing your own template!

    Thanks, that helped me.

    Hi,
    Not sure if I’m on the right thread, but….
    I can’t get my KML file to show. It should be kosher – it was output by Google Earth based on locally added waypoints there.

    My shortcode reads :
    [google-map-v3 width=”800″ height=”550″ zoom=”11″ maptype=”roadmap” mapalign=”center” directionhint=”false” language=”default” poweredby=”false” maptypecontrol=”true” pancontrol=”true” zoomcontrol=”true” scalecontrol=”true” streetviewcontrol=”true” scrollwheelcontrol=”false” draggable=”true” tiltfourtyfive=”false” addmarkermashupbubble=”false” addmarkermashupbubble=”false” addmarkerlist=”52.10000,-0.740000{}4-default.png{}MK” kml=”http://cachingtheboundary.org.uk/wordpress/wp-content/uploads/GPX/MKBW_Route_Test.kml” bubbleautopan=”true” showbike=”false” showtraffic=”false” showpanoramio=”false”]

    The plugin reports an error that the file is not found, even though it is present and has open permissions. Any ideas ?

    http://cachingtheboundary.org.uk/sectors/

    Any suggestions welcome. It beats me ……

    Hi, I have the same problem. I’ve just installed the plugin to the WordPress 3.4.2. I generated a kml with google maps and tried both uploading the file and the url (I checked that was valid). So… I can see the map centered on where my placemarks are but none are showing, looks empty. any suggestions please?
    thanks in advance

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Plugin: Comprehensive Google Map Plugin] KML file not loading, maps not displaying as expected’ is closed to new replies.