Reimers.dk

.NET, AJAX and Google APIs brought together
Welcome to Reimers.dk Sign in | Join | Help
in Search

Google Earth OR Maps ?

Last post 11-24-2008, 13:32 by narnouri. 0 replies.
Sort Posts: Previous Next
  •  11-24-2008, 13:32 1997

    Google Earth OR Maps ?

    I was developing many functions using Google Earth API with this code

        <title>Live Tracking</title>
            <script src="http://www.google.com/jsapi?key= "></script>
                    <script>
                    google.load("earth", "1");

                        var ge = null;
                            function init()
                             {
                                google.earth.createInstance("map3d",
    initCallback, failureCallback);
                             }
                            function initCallback(object)
                            {
                                ge = object;
                                ge.getWindow().setVisibility(true);
                            }
                            function failureCallback(object)
                            {
                            }
                 </script>

    How i can add Google Map as tap to my Google Earth like this example:

    http://earth-api-samples.googlecode.com/svn/trunk/examples/maps-integ...

    Do I have change any thing in my Google Earth Functionality Or Shuld I
    repait Evrey Thing I build using Google Earth API like drowe plasemark
    adding rote......

    This is the way i mange google earth funcation:

    System.Web.UI.ScriptManager.RegisterClientScriptBlock(Button2, typeof(Page), "uniquekey" + DateTime.Now, "ge.getFeatures().removeChild(placemark" +TextBox1.Text + ")", true);

     

View as RSS news feed in XML