WordPress.org

Forums

WP Flexible Map
[resolved] KML file is not working in local website? (7 posts)

  1. bluehj
    Member
    Posted 1 year ago #

    i put the code [flexiblemap src="http://snippets.webaware.com.au/maps/example-toronto.kml?v=2" width="100%" height="400"] in my page ,it's working.
    but i download the example-toronto.kml file and put this file in my website,use [flexiblemap src="http://www.mydomain.com/example-toronto.kml?v=2" width="100%" height="400"] .it's not working,only show the google maps .why?

    http://wordpress.org/plugins/wp-flexible-map/

  2. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry for delay in replying, I didn't get an email alert for this support ticket. Thank goodness for RSS :)

    Is your website visible from the Internet? KML files are not processed in the browser, Google's servers download them and send rendering instructions back to the browser, so your KML file needs to be somewhere that Google can access it.

    cheers,
    Ross

  3. bluehj
    Member
    Posted 1 year ago #

    Thank you for ur reply,in my case ,the front is nginx(WAN) forward request to apache(LAN) in the back,the web pages are in the apache.i downloaded the kml file from your website and did nothing change ,just put it in my apache for testing.And everyone can visit my website from internet ,also i have put mime type of kml in the httpd.conf.
    The klm is not working.any idea?

  4. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    G'day bluehj,

    Can you post a link to the page with the map please? If you're not comfortable posting it publicly, please post through my contact page.

    cheers,
    Ross

  5. bluehj
    Member
    Posted 1 year ago #

    hi,Ross,I check my network environment careful again.and now everything is OK,thank you for your help.
    cheers,
    bluehj

  6. webaware
    Member
    Plugin Author

    Posted 1 year ago #

    No worries, glad you got it resolved.

    cheers,
    Ross

  7. sanjeev15906
    Member
    Posted 1 year ago #

    Hello Ross,

    I have also same problem and i have read above discussion with bluehj but I have not seen any solution there. please help me.

    Thanks
    Sanjeev Kumar RAghuwanshi

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Flexible Map
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.