Gltf v2 | 2GIS Documentation
MapGL JS API

Plugin version 2 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@^2/dist/bundle.js"></script>

You can also install the plugin via npm:

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

More...