Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Varios (https://www.clubdelphi.com/foros/forumdisplay.php?f=11)
-   -   Google Earth y Delphi (https://www.clubdelphi.com/foros/showthread.php?t=61236)

Neeruu 31-10-2008 01:14:55

Google Earth y Delphi
 
Hola a todos como estan?? alguien sabe como utilizar desde delphi el google earth, si hay compomentes, y de donde se pueden descargar!!!!


saluda Atte Neeruu!!!:)

pcicom 31-10-2008 04:30:40

Que tal esto..



http://blog.marcocantu.com/blog/goog...hi_server.html

coso 31-10-2008 11:26:19

Hola, puedes crearte un archivo con esto:

Código:

<html>
        <head>
                <script src="http://maps.google.com/maps?file=api&amp;"type="text/javascript"></script>               

          <script type="text/javascript">               
       
            function set_maps()
            {
              if (GBrowserIsCompatible())
              {       
                var home_map = new GMap2(document.getElementById("home_map")); // objeto mapa
                var mapTypeControl = new GMapTypeControl(); // control mapa-satelite-hibrido
                var topRight = new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,10)); // posicion

                home_map.setCenter(new GLatLng(10,10), 2); // posicion inicial
                home_map.addControl(mapTypeControl, topRight); // añade control
                home_map.addControl(new GSmallMapControl()) // añade zoom

                var home_point = new GLatLng(10, 10); // punto inicial para overlay
                home_map.addOverlay(new GMarker(home_point));
              }
            }
            </script>
        </head>
        <body onload="set_maps();" onunload="GUnload()">       
        <body>
                <div id="home_map" style="float:left;width: 700px; height: 700px;"</div>
        </body>
</html>

y luego en tu programa cargalo por ejemplo en un TWebBrowser.

josejp1 01-11-2008 08:02:05

Mira a ver si te vale esto

http://delphimagic.blogspot.com/2008...en-delphi.html


La franja horaria es GMT +2. Ahora son las 12:44:38.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi