No me muestra ningun error, simplemente no funcioa el visor. Tengo tres capas wms añadidas y van perfectamente, pero cuando activo esta ultima simplemente el visor se queda en blanco y solo aparece el titulo y el marco.
El kml lo he hecho yo y en el GIS y en googleearth lo veo perfectamente Gracias! Date: Fri, 10 May 2013 02:50:38 -0700 From: [email protected] To: [email protected] Subject: Re: añadir kml desde localhost 2013/5/10 geodesman <[hidden email]>: > 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!!! > > Hola, No funciona, pero ¿qué error te muestra la consola del navegador? ¿Has comprobado con algún otro programa (qgis, gvsig,...) que ese KML está bien formado? Saludos, María. > > > -- > 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-tp5052506p5052515.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-tp5052506p5052518.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
