Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4099390
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:25:39+00:00 2026-05-20T20:25:39+00:00

On maps.google.com you can see a brilliant example on how a google maps application

  • 0

On maps.google.com you can see a brilliant example on how a google maps application can suddenly turn into a google earth application smoothly.

I’m developing a google maps application, working with API version 3. I read the following line in the Google Earth API summary

If you have an existing Maps API site,
you can 3D-enable your page with as
little as one line of code.

But I have searched for hours without finding any clue how to enable 3D in my application. I’ve built my application on the google.maps.Map constructor and included the google mas API from this url: http://maps.google.com/maps/api/js

Does anyone know what I’m talking about and/or know how to enable 3D in a google maps application in 1 line?

Codemonkey

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T20:25:40+00:00Added an answer on May 20, 2026 at 8:25 pm

    To add the Google Earth instance to your map, simply add the G_SATELLITE_3D_MAP to your map with GMap2.addMapType().

    var map = new GMap2(document.getElementById("map_canvas"),{ size: new GSize(640,480) } );
    map.setCenter(new GLatLng(42.366662,-71.106262), 11);
    
    // Enable the Earth map type
    map.addMapType(G_SATELLITE_3D_MAP);
    
    var mapControl = new GMapTypeControl();
    map.addControl(mapControl);
    map.setMapType(G_SATELLITE_3D_MAP);
    

    Here is the information on Integrating v2 of the maps Api with the Google Earth Plugin
    http://code.google.com/apis/maps/documentation/javascript/v2/services.html#Earth

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I noticed that we can see Google Earth in our browser on maps.google.com now,
I have something very similar to this example: https://developers.google.com/maps/documentation/javascript/examples/directions-simple All I am trying to
When using maps.google.com, places like parks,bus stations, restaurants are objects and we can mouse-hover
In app-engine-patch ( http://code.google.com/p/app-engine-patch/ ) ... How on earth does the sample application know
I'm new to making Google Maps, the markers wont show up, can you see
At http://maps.google.com , if you search for something like Deschutes River, Oregon, you get
When I run this code url = ('http://maps.google.com/maps/nav?'+ 'q=from%3A'+from_address+ '+to%3A'+to_address+ '&output=json&oe=utf8&key='+api_key) request = urllib2.Request(url)
Today I struggled with the following: $.ajax({url:'http://maps.google.com/maps/api/geocode/jsonaddress=Karachi&sensor=false&output=json&callback=?', dataType: 'json', success: function(data){ //eval((+data+)); alert(data); }
I have the following code to open google maps: NSString *urlString = [NSString stringWithFormat:@http://maps.google.com/maps?q=%@,
Im opening a map like this: NSString *urlString = [NSString stringWithFormat:@http://maps.google.com/maps?q=%@,%@, destLat, destLong]; [[UIApplication

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.