[OpenLayers-Users] How to read a kml file into Open Layers - issue

Nick Kendall n.e.kendall at gmail.com
Fri Jun 22 15:07:25 PDT 2012


There's not much code here.

Sent from my mobile device

On Jun 22, 2012, at 2:02 PM, modala <modala.raghuveer at gmail.com> wrote:

> Hi,
>    I am new to Open Layers and even Java. I am trying to read a kml file
> (have some locations) onto a map . I am unable to read the file.. Can any
> one help me to solve this issue
> 
> I am pasting the code
> 
> <html>
> <head>
>  <title>OpenLayers Example</title>
> 
>    </head>
>    <body>
>      <div style="width:100%; height:100%" id="map"></div>
> 
> 
> </body>
> </html>
> 
> After reading few online material i came to know that i have to use a
> relative path name for the kml file. But i am not sure how to do that. Can
> anyone help me on this ?
> 
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-read-a-kml-file-into-Open-Layers-issue-tp4983286.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users


More information about the Users mailing list