X

Como insertar imágenes locales en Google Earth

Respondiendo a unas dudas que me llegan, aprovecho para dejar el resultado para uso público.

Hace un tiempo había hablado como se pueden insertar imágenes vinculadas a un punto de Google Earth, aunque usando direcciones web.  En este caso quiero mostrarlo usando una ruta local:

Suponiendo que el fichero está en la posición C:/Users/Usuario/Downloads/woopra_ios.png, entonces el código sería:

<img src=»file:///C:/Users/Usuario/Downloads/woopra_ios.png»/>

Si se quiere hacer algo más, como por ejemplo colocar varias imágenes, con grosor, con otro tamaño, se puede usar un código más amplio como

<img src=»file:///C:/images/topo1.jpg»WIDTH=500 HEIGHT=400 BORDER=8/>

<img src=»file:///C:/images/luna.jpg»WIDTH=500 HEIGHT=400 BORDER=8 />

<img src=»file:///C:/images/shema.jpg»WIDTH=500 HEIGHT=400 BORDER=8 />

Si se quiere colocar una tabla, con más detalles se puede usar, color de fondo, etc.  Se puede hacer con Dreamweaver u otro editor html y luego copiar el código.  Para ejemplo les dejo uno:

<html><body>
<table width=»500″ border=»0″>
<tr>
<td colspan=»2″ style=»background-color:#FFA500;»>
<h1>Encabezado</h1>
</td>
</tr>
<tr valign=»top»>
<td style=»background-color:#FFD700;width:100px;text-align:top;»>
<b>Menu</b><br />Texto 1<br />Texto 2<br />Texto 3t
</td>
<td style=»background-color:#EEEEEE;height:200px;width:400px;text-align:top;»>Contenido<table border=»1″>
<tr>
<td><img src=»file:///C:/images/topo1.jpg»WIDTH=100 HEIGHT=100 BORDER=8 ALT=»TOPOGRAFIA»/>
<td>imagen aqui</td>
</tr>
<tr>
<td><img src=»file:///C:/images/luna.jpg»WIDTH1500 HEIGHT=100 BORDER=8 ALT=»LUNA»/></td>
<td><img src=»file:///C:/images/shema.jpg»WIDTH=100 HEIGHT=100 BORDER=8 ALT=»TOPOGRAFIA»/></td>2</td>
</tr>
</table></td>
</tr>
<tr>
<td colspan=»2″ style=»background-color:#FFA500;text-align:center;»>Geofumadas</td>
</tr>
</table>
</body>
</html>

Y este sería el resultado:

Obviamente Google Earth no soporta todas las etiquetas html o javascript, pero se puede hacer suficiente.

Tags: kml
geofumadas: Editor de Geofumadas
Related Post