KML.txt 861 B

1234567891011121314151617181920212223242526272829
  1. Current for 2.x
  2. # KML
  3. Many users find it necessary to include KML files on their websites, and often
  4. KML files are located on remote servers; especially dynamic KML. However, the
  5. core of the [XMLHttpRequest](http://en.wikipedia.org/wiki/XMLHttpRequest)
  6. object, the Javascript convenience that allows AJAX to happen, prevents requests
  7. across domains.
  8. This means that a site
  9. http://www.hello.com/
  10. cannot load KML from
  11. http://world.com/
  12. Without a special workaround.
  13. # Proxy Host
  14. For this, there is a special setting in every map called "Proxy Host." It is
  15. in the 'General information' tab, at the bottom of the page. You can use any of
  16. a number of [PHP
  17. proxies](http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=php+proxy) for
  18. this purpose, or you can use the [proxy
  19. module](http://drupal.org/project/proxy), which integrates with Drupal.