How can I import Building objects using Google Maps API?

Asked 2 years ago, Updated 2 years ago, 46 views

Hello, I am a college student who is a beginner in development.

I want to make a program using Google Maps API, but I can't find a way on my own, so I'm asking you this question.

First of all, Google Maps provides a 3D view of buildings, and I want to use these building objects to implement the world.

In a way, it's similar to games based on Google Earth, but Google Earth API is no longer available, and I want to use maps API, but I'm at a loss what to do.

A little bit closer to what I think is the link to http://www.playmapscube.com/. Like this, I want to implement a 3D world through modeling information of each building.

I searched for building keyword in API Public final void setBuildingsEnabled (boolean enabled) seems to have only the visible option....

Can I get information about the building's objects (xml?kml?obj?3ds?gson?etc.) from the API? Or is this information not provided by Google? If you don't provide it, is there any other library?

google-maps api 3d

2022-09-22 21:41

2 Answers

Google Maps does not provide modeling information for buildings. For information supported by Google Maps, please refer to the API list provided on the next page.

The source code for the site http://www.playmapscube.com/ suggests that the map itself was modeled directly in 3D using a tool called Blender.

Some of the models/New_York/JSON/Buildings.js file

metadata": {
    "formatVersion": 3,
    "generatedBy": "Blender 2.60 Exporter",
    "vertices": 9095,
    "faces": 8455,
    "normals": 5172,
    "colors": 0,
    "uvs": 20937,
    "materials": 1,
    "morphTargets": 0
},

In addition, not only Google Maps but also Daum and Naver Maps SDK do not provide modeling information for buildings.


2022-09-22 21:41

Web page sources can be viewed as follows:


2022-09-22 21:41

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.