gracias por el aporte, pero esa via ya la he consultado y no veo el fallo.

Gracias,
Juanjo

Date: Fri, 10 May 2013 02:41:27 -0700
From: [email protected]
To: [email protected]
Subject: Re: añadir kml desde localhost



        Mira aquí:
http://openlayers.org/dev/examples/kml-layer.js

es un ejemplo de como hacerlo. 


Y aquí tienes mas ejemplos, te recomiendo que revises bien esa documentación, 
encontrarás información detallada de muchos casos.
http://openlayers.org/dev/examples/



Saludos.Micho García
GIS Developer
michogarcia.org


geomati.co


El 10 de mayo de 2013 11:26, geodesman <[hidden email]> escribió:


Hola!!



Estoy intentando añadir a mi openlayers una capa propia *kml. De momento

quiero hacerlo directamente, sin ningun protocolo wfs, pero algo hago mal q

no me funciona.

He intentado de varias formas pero nada:



        var termino = "http://localhost/openlayers/MisCapas/CofPol.kml";;

        var capatermino = new OpenLayers.Layer.GML("KML", termino);

y asi:



       var termino = "C:/openlayers/MisCapas/CofPol.kml";

       var capatermino = new OpenLayers.Layer.GML("KML", termino);



Gracias por la ayuda!!!









--

View this message in context: 
http://osgeo-org.1560.x6.nabble.com/a-adir-kml-desde-localhost-tp5052506.html

Sent from the OSGeo Spanish Local Chapter mailing list archive at Nabble.com.

_______________________________________________

Spanish mailing list

http://lists.osgeo.org/mailman/listinfo/spanish

http://es.osgeo.org

http://twitter.com/osgeoes




_______________________________________________

Spanish mailing list

http://lists.osgeo.org/mailman/listinfo/spanish
http://es.osgeo.org
http://twitter.com/osgeoes


        
        
        
        

        

        
        
                If you reply to this email, your message will be added to the 
discussion below:
                
http://osgeo-org.1560.x6.nabble.com/a-adir-kml-desde-localhost-tp5052506p5052513.html
        
        
                
                To unsubscribe from añadir kml desde localhost, click here.

                NAML
                                                  



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/a-adir-kml-desde-localhost-tp5052506p5052514.html
Sent from the OSGeo Spanish Local Chapter mailing list archive at Nabble.com.
_______________________________________________
Spanish mailing list
http://lists.osgeo.org/mailman/listinfo/spanish
http://es.osgeo.org
http://twitter.com/osgeoes

Responder a