Puedes usar la API de Maps JavaScript para renderizar mapas fotorrealistas en 3D y modelos 3D de GLTF directamente en mapas 3D. Estos objetos 3D realistas pueden representar edificios, lugares de interés y otros objetos personalizados, y pueden mejorar el atractivo visual y la funcionalidad de tus mapas.
Para agregar un modelo a un mapa, usa el elemento gmp-model-3d, como se muestra a continuación. Los modelos se fijan al suelo de forma predeterminada cuando se omite el atributo altitude-mode.
[null,null,["Última actualización: 2025-03-25 (UTC)"],[[["Photorealistic 3D Maps in Maps JavaScript API allows rendering GLTF 3D models directly into 3D maps to represent buildings, landmarks, or other custom objects."],["The 3D models should support core properties of the glTF PBR, without any extensions or extension properties."],["You can add a model to the map using the `\u003cgmp-model-3d\u003e` element by specifying its position, altitude mode, orientation, scale, and source URL."],["This product or feature is currently experimental and might have limited support."]]],[]]