MapGL API Release notes
There are two ways to choose MapGL version:
- (recommended) major version: https://mapgl.2gis.com/api/js/v1
- 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.
Release Date: 04.08.2020
- Added the new map object Label for the independent text labels on the map.
- Added the ability to use a stretchable image as background for the marker label.
- Added the option
autoHideOSMCopyrightto the MapOptions. If true, the OSM copyright will be hidden after 5 seconds from the map initialization.
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
disableZoomOnScrollwas added to the Map options. This option disable zoom on scroll, when a mouse cursor is above the map container.
- New method
setSelectedObjectswas added to the Map. This method allows to select any object on the map.