Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I render KML files that are hosted on intranet sites on a map?

0
Posted

How do I render KML files that are hosted on intranet sites on a map?

0

The KmlLayer class that generates KML overlays in the Google Maps API uses a Google hosted service to retrieve and parse KML files for rendering. Consequently it is not possible to display KML files that are not hosted at a URL that is available publicly accessible, or that require authentication to access. If you need to develop applications that use KML files hosted on intranet sites we recommend that you either: • use the Google Earth API which supports client side parsing and rendering of KML. • render the KML on the client side by using third-party Javascript libraries. As the KML file is analyzed by the browser, performance may be lower than by using the KmlLayer class.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123