Start here, http://econym.org.uk/gmap/

On Jun 7, 5:38 am, rhythmofthecosmos
<[email protected]> wrote:
> Hi,
>
> Am a total beginner with all this code so am struggling to create what
> I want.
>
> I am trying to create a map on my website for my travels. I do not
> want the normal map a plain 2-d map. If the 3-d is available I would
> want to use that.
>
> I currently have API key have the hello world code installed on my
> dreamweaver software
>
>  <html>
> <head>
>   <title>Hello, Google Earth</title>
>   <!-- *** Replace the key below below with your own API key,
> available athttp://code.google.com/apis/maps/signup.html*** -->
>   <script type="text/javascript" src="http://www.google.com/jsapi?
> key=ABCDE"> </script>
>   <script type="text/javascript">
> google.load("earth", "1");
>
> var ge = null;
>
> function init() {
>   google.earth.createInstance("map3d", initCallback, failureCallback);
>
> }
>
> function initCallback(pluginInstance) {
>   ge = pluginInstance;
>   ge.getWindow().setVisibility(true); // required!
>
> }
>
> function failureCallback(errorCode) {
>   alert("Failure loading the Google Earth Plugin: " + errorCode);}
>
>   </script>
>
> </head>
> <body onload="init()">
>   <div id="map3d_container" style="border: 1px solid silver; height:
> 500px;">
>     <div id="map3d" style="height: 100%;"></div>
>   </div>
>   </body>
> </html>
>
> That is the code am using, everything works fine.
>
> Now am confused about where to add the code for adding a placemark.
> (this 
> websitehttp://code.google.com/apis/earth/documentation/introduction.html)
>
> I am also confused abotu how to edit the code in order to create what
> I want.
>
> Is it also possible to get the 2-d version and the one mentioned above
> side by side ?
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to