MapGL API Release notes | 2GIS Documentation

MapGL API Release notes

There are two ways to choose MapGL version:

  1. (recommended) major version: https://mapgl.2gis.com/api/js/v1
  2. fixed version: https://mapgl.2gis.com/api/js/v1.0.0

Major version guarantees to have stable API (breaking changes will land into the next major version). It is updated regularly with new features, bug fixes and performance improvements.

Fixed version does not have any updates. That's why it has a short support period of 3 months after a new version is released. We guarantee that the version will be working during the support period. The only reason to choose fixed version is when you need Subresource Integrity (SRI). Because of short support period you have to update the version regularly.

URL: https://mapgl.2gis.com/api/js/v1.1.0

SRI: sha512-YFDMHX7b+1Vkhlb/JHuwaIh1MFOc8JHKE3saX/xuvH63j0wyTrj2XCznVlVoMvdyMdlkSRMUmy2ZI8oCV3jFsA==

Release Date: 04.08.2020

URL: https://mapgl.2gis.com/api/js/v1.0.0

SRI: sha512-zR4M+gPvJrGv0H1T6hWoBfTJ5G1/lENTTx/JXmMDZFwFtqLp95JDuO2QE7iJd9SjCMfkDkXNyFtfQLRuIGckeA==

Release Date: 21.07.2020

Support End Date: 04.11.2020

There are no any release notes. This is the first release with a fixed version.

  • New option disableZoomOnScroll was added to the Map options. This option disable zoom on scroll, when a mouse cursor is above the map container.
  • New method setSelectedObjects was added to the Map. This method allows to select any object on the map.