Gltf v1 | 2GIS Documentation
MapGL JS API

Plugin for rendering glTF models

mapgl-gltf plugin is used for rendering glTF models on MapGL maps.

To start using the plugin, add it to your page:

<script src="https://unpkg.com/@2gis/mapgl-gltf@^1/dist/bundle.js"></script>

You can also install the plugin via npm:

npm install @2gis/mapgl-gltf@^1

More...