[Spanish] añadir kml desde localhost

geodesman juavafer at hotmail.com
Fri May 10 02:26:48 PDT 2013


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.


More information about the Spanish mailing list