No. The URL must be accessible from the public internet. The KML is downlaoded by Googles server, and compressed to be sent to the browser.
There are however altnative KML parsers. ones that parse KML in browser, and so can only access the current domain (even if that is localhost) (eg geoxml3) (Of course I take it aware you only allowed to use localhost for testing purposes. The final application has to be deployed on the public internet anyway) On 17 May 2011 14:31, Raju M <[email protected]> wrote: > Is that possible to add KML layers form urls like this > http://localhost:41169/map/readKMLs.ashx?query=showboundary > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
