Skip to main content

Release notes

Two MapGL JS API versions are available:

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

The major version guarantees a stable API (breaking changes are introduced in the next major version). It is updated regularly with new features, bug fixes, and performance improvements.

The fixed version is not updated, so the support period is three months after the release of a new version. During the support period, the version is guaranteed to work. Use the fixed version only if you need Subresource Integrity (SRI) and update the version regularly.

v1.78.0

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

SRI: sha512-metdG0w/fyK9oN0o5ErTJjVUIWw/yltMT0m4LAX81KbSVulXGL31TG6fM8nmjVfLt+HzMf7khAdKBbVdsCN81A==

Release Date: 13.09.2026

  • Improved interface responsiveness during style loading: style preparation is split into short tasks on the main thread and performed concurrently in workers
  • Fixed HTML marker position drift near the antimeridian when switching between globe and flat-map modes
  • Fixed raster image artifacts affecting icons and patterns when changing the style during initial map loading

v1.77.0

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

SRI: sha512-S6T4rtGbLZb64SiPXuIsXIT3F6johp2cUTogPoTYYG05saexvdwWfSsmH1EpZzZ+vAfSZozmyTqShMUjzdZloA==

Release Date: 01.09.2026

Support end date: 13.12.2026

  • Fixed tile generation hangs when cross-thread worker calls fail
  • Fixed markers missing from hit-testing after asynchronous icon loading
  • Improved automatic graphics preset selection and FPS sampling on desktop and mobile devices
  • SVG icons are rasterized once for multiple sizes
  • Fix map labels disappearing when globe and terrain are enabled together at zoom 8–11

v1.76.1

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

SRI: sha512-Z70wHqGKzQl9fbMPeDHSxUhmcW9kLwP0Zv6WNWkwRZRDzz0rPk8hJe9Bib7/tn06Po2sSnGXo1zDbwGjj5BWiQ==

Release date: 14.08.2026

Support end date: 01.12.2026

  • Updated default graphics presets: disable models and shadows in the light preset and shadows in the normal preset.

v1.76.0

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

SRI: sha512-mFf2sak98AbbJECjxBuCoe3uGzCZj9rKIUjz0oPDObsWAebNPATkjeMm44hmJeCKHRy/QfKN6ITOVSXOa2O8Pw==

Release date: 29.07.2026

Support end date: 14.11.2026

  • Labels now accept any font name and switch to the Noto Sans font when the font is not specified.
  • Improved rendering loop reliability: log events are now generated when performance degrades or critical errors occur.

v1.75.2

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

SRI: sha512-+7DNY5CzbQvX5uFtZkU55hc6iYJ0QDJOM7l/Rfhme6qLoECnKktiL1VRrJIMdfUpaEV647PdNxSx8HjFQxyRlA==

Release date: 16.07.2026

Support end date: 29.10.2026

  • Added shadow rendering for 3D terrain.
  • Disabled 3D terrain rendering outside the tile coverage area.
  • Fixed an issue that caused rendering thread lockup due to blocking shader compilation. Now, the KHR_parallel_shader_compile extension is used when available.
  • Fixed an issue where markers and point labels disappeared on 3D terrain if elevation tiles are partially loaded.

v1.75.1

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

SRI: sha512-I780CPZKCf2OLKSg6Q7ZTlwmuUauaHn2Cj3TumsGQqCYEcFMW7z0RFQAy7teRuT+hE9Fe8iXsXzfonWsiTgsBA==

Release date: 03.07.2026

Support end date: 16.10.2026

  • Fixed rendering of duplicate models and improved rendering performance for models with the same ID in different positions.

v1.75.0

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

SRI: sha512-5zhreVw5yzo1jdG1s5eXhVa5BzijYH6gM9ITF0rlTjxSBQYSFJcADZZZp845BkFIR7+2ymBZtZyiYHOdbhT7NA==

Release date: 26.06.2026

Support end date: 03.10.2026

  • Fixed identify cache operation after tile style changes: hover now works correctly for newly uploaded tiles from custom sources.
  • Added support for the format expression in style expressions, for example, for textField formatting.
  • Fixed 3D line rendering.
  • Added terrain line and line label rendering, configurable via DEM (digital elevation model) style contour settings.
  • Fixed tile visibility at the antimeridian when globe rendering is enabled and the loopWorld parameter is disabled.

v1.74.0

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

SRI: sha512-9yGkKBonvUFs/6zaNnk41GhluZa+rKXrP6QWmCvpHLuJd3W9oFBZnQof0I4MvZlsS77N02ryW/oEWuV8r3cOyA==

Release date: 09.06.2026

Support end date: 26.09.2026

  • Added the touchmove event for the map and dynamic objects on devices with touch screens.
  • Disabled filtering of universe tiles (displaying at the zoom level 8 and higher) based on regional coverage data.
  • Updated FPS statistics accumulation and performance issue detection.
  • Improved tiered mesh rendering: skipped redundant framebuffer renderings.
  • Fixed rendering of point objects, circle markers, and dashed lines on mobile devices.

v1.73.0

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

SRI: sha512-3ySr4ArzEvQ/YwvXD4uoR2m3XowpdZEKnBADLL3OdllBW0adZNcb+zFwLERrhnMjVQqaP7cJJv+kvmKP2qg3Zw==

Release date: 26.05.2026

Support end date: 09.09.2026

  • Added support for expression values for the iconPriority and textPriority in the PointStyleLayer, and for textPriority in the LabelLineStyleLayer.
  • Removed commercial POI layers from styles.
  • Fixed blinking frames during looped glTF model animations.

v1.72.3

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

SRI: sha512-Bs1FNW6l3HhIEjgdeI6b3T/IuYxOouAn01VPM46zXcG1bf/cGSbt3/z7FcJmzkPevEWRLqI+nScMR0voF76tmw==

Release date: 08.05.2026

Support end date: 26.08.2026

  • Added sending of metrics when changing the graphics preset.
  • Enabled using the map key in the URL of the RasterTileSource.
  • Added POI icon data to the targetData field of the click event.
  • Improved dashed line identification: for 2D lines, depth checking is disabled.
  • Fixed dashed polylines disappearing and incorrect rendering at low zoom levels, including during identification.
  • Improved rendering performance: universe tiles (displaying at the zoom level 8 and higher) covered by regional tiles (displaying at the zoom level 10 and higher) are skipped.
  • Improved globe rendering performance and smoothness: switched to direct rendering with subdivision.
  • Added WebGL state reset when rendering custom layers to improve compatibility with third-party WebGL libraries such as deck.gl.
  • Added the StyleStretchableIconConfig for stretchable icons. Split the StyleIconConfig type into simple and stretchable variants.
  • Updated style expressions: now, kebab-case is used by default. Support for camelCase aliases is available for backward compatibility.
  • Added support for elevated wall segments (arches).
  • Fixed animation of material texture for glTF models.

v1.72.0

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

SRI: sha512-x85xBizQZwnFKVsj/oj1MG0rR9BywXT1eRRXgg/M046otP/Zine22ILdHHc5i8WvMjd/gJi41YkcqVlIt4j5Uw==

Release date: 02.04.2026

Support end date: 08.08.2026

  • Added the public Arrow object for rendering arrows on the map.
  • Fixed disappearing of markers when moving across the antimeridian in loopWorld mode.
  • Fixed lighting of transparent objects in 3D models.
  • Fixed rendering issues in Firefox browser that affected rendering of a globe and dynamic objects.

v1.71.0

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

SRI: sha512-bzLE2+6sF6Apxq4MlS99iDQ55wmHPdmAiswK2FlT/IJ9Z4bRAk121nHFC3McyU3l/cBr8f5vGHEf/+Hrv31jcQ==

Release date: 10.03.2026

Support end date: 02.07.2026

  • Updated descriptions for the public style layer types.
  • Updated UBO (Uniform Buffer Object) handling.
  • Fixed road identification on 3D terrain.
  • Added the forceSyncIdentify flag for enabling synchronous selecting of object on the map.

v1.70.1

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

SRI: sha512-P9RRcFklI/9RIlgZjHPbsxCyoj9tRmUsiToos6JOXBZfxQdE2EPKMSSbe1qrDOSFj5N9e2OEdIvymWW+jeokhg==

Release date: 12.02.2026

Support end date: 10.06.2026

  • Fixed a globe rotation issue that occurred when the loopWorld parameter was set to false.

v1.69.1

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

SRI: sha512-+dcmrruTpD1EXtvjourezNCQ7TGJ5s2Eh23oSxy9IVvMG8QUKK+QoTNv4hFlMxxw3HcL0Zj/dgG+qNQAlBaqAw==

Release date: 19.01.2026

Support end date: 12.05.2026

  • Fixed a model transformation issue on the initial animation frame.
  • Updated the public style types.
  • Fixed unexpected appearance of overpasses at non-integer zoom levels.
  • Fixed map loading in about:blank.
  • Improved the identification mechanism for infinitely animated objects.
  • Fixed an identification mechanism error that occurred when the scene contained hidden objects.
  • Added support for the WASM version of the Draco decoder for faster decoding and generating of glTF models.

v1.67.0

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

SRI: sha512-TcdTh0KWQhBRrhEvZgIlGqrzQ6U/SZH5chQBv0WI+R4GHK4Ai38XpjxT6f2xgP4157C3GBnvApb3RPEvy16z1g==

Release date: 20.11.2025

Support end date: 19.04.2026

  • Increased view distance at high camera tilt angles.
  • Disabled using of the render cache for certain cases.
  • Fixed 3D terrain rendering during map initialization.
  • Fixed WebGL 1 errors related to the EXT_frag_depth extension.
  • Fixed tunnel rendering on 3D terrain.
  • Fixed incomplete rendering of lines with a pattern.
  • Fixed calculation of the model display ratio when the zoom level exceeds 18.

v1.66.0

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

SRI: sha512-RsAUO9bc7cxeKDN/XuyOhH0+mE26TbgxdVPbKzV5eceJU9/crcZsbj+lIStCC2cggbj+uamqNCN1oVPj+XBaXg==

Release date: 06.10.2025

Support end date: 20.02.2026

  • Improved 3D terrain rendering.
  • Added remembering of the recently selected floor within a floor complex.
  • Fixed visibility of commercial POIs on floor plans.
  • Fixed lighting of polygons with a texture.

v1.65.0

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

SRI: sha512-6xxd6KVBOcze7loe8Y9lJs+RMx7Pz+Mrib9TVw0PZ8QsauHIzMZ/ZFfPMcD2bsoLefE0zy1dq2CSE1YUZtnNOw==

Release date: 18.09.2025

Support end date: 06.01.2026

  • Added the iconIdentifyOpacity map parameter for controlling icon rendering in the scene. Pixels with an alpha value lower than the specified threshold are not rendered. The default value is 0.3.
  • Improved map rendering performance with the light graphics preset.
  • Added support for groups in the showLayers() and hideLayers() methods.
  • Adjusted the thresholds for automatic selection of graphics preset: the immersive preset is now selected more frequently.
  • Fixed the font resolve expression for the second label of a point object.

v1.64.0

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

SRI: sha512-zshtsngCKYHZQbQZXKXtxUKyvCnWZEuVgZEqsfzLSFRCNge+Cz2RSU8c9F3lS3UEA8hvPhOKQXjimenhmXiOMA==

Release date: 05.09.2025

Support end date: 18.12.2025

  • Fixed building visibility for buildings without floor plans.
  • Added linear and step interpolation for glTF model animation.
  • Improved floor plan selection reliability when the camera moves.
  • Added support for dictionaries in metatiles for tourist routes.
  • Disabled rendering cache in WebGL 1 to fix visual artifacts.
  • Fixed coordinate handling in GeoJSON.
  • Fixed click and hover handling for 3D models in Firefox browser.
  • Fixed globe rendering at the antimeridian.
  • Fixed object identification in globe mode.

v1.63.0

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

SRI: sha512-HbxMmNbeuokJCJQowai2Crg2bl+sZuDPf+tPRNSPViK9BpkIsv8VKAHWfjyZYNIjHASXkAVz4JiJwrvMwMSg/w==

Release date: 07.08.2025

Support end date: 05.12.2025

  • Enabled hiding the floor plan display via the UI control.
  • Fixed errors on systems with DirectX 9.
  • Fixed texture pixelation on some mobile devices.
  • Improved map update performance during movement.

v1.62.0

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

SRI: sha512-CpAJKhirnHI0KKfSsQsOGQr1jL0bw6aN+z715dRO4wWkm2I1wAKrc/1yPORx0I1XuYKNR3WTHYQD87Cyey+zfA==

Release date: 11.07.2025

Support end date: 07.11.2025

  • Added the trafficOn parameter to the MapOptions map initialization settings.
  • Updated methods for traffic management in the map instance.
  • Optimized map style storage.
  • Fixed z-fighting between extruded polygons with zero height and polylines.
  • Fixed 3D model rendering on devices with Mali GPUs.
  • Fixed the behavior of the UI control for managing the copyright.
  • Fixed WebGL 1 errors related to the EXT_frag_depth extension on certain devices.

v1.61.0

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

SRI: sha512-yyAgla7ThMFTUyOKRk7shNxSgq1rtUIi1AwNnab1V7JyPAV/aex/AFs1R8RVZhn7xJRV3RR3G8Ocazngb5/uMw==

Release date: 11.06.2025

Support end date: 11.10.2025

  • Fixed text rendering on intersecting substrates.
  • Fixed incorrect map behavior when the browser zoom level changes.
  • Improved height positioning accuracy for glTF models and added support for negative height values.
  • Fixed an error that occurred when destroying GeoJsonSource.
  • Added an internal generated ID to GeoJSON feature events.
  • Improved map performance when scaling and panning.
  • Extended the error event with handling for webglcontextlost, invalidtilekey, and styleloaderror.
  • Fixed map flickering when selecting features after a style switch.
  • Improved rendering performance.
  • Fixed 3D model rendering on devices with Android and Mali GPUs.
  • Fixed animated models disappearing.

v1.60.0

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

SRI: sha512-8Sd8fRKpKXVUxQ1jiL1Pvtlo3jtwJK1hZV0jedHK0cRa6Rg4wC+7+Z0EXx+14/msRBnft2J2aDb2IxOhFKaMIQ==

Release date: 28.04.2025

Support end date: 11.09.2025

v1.59.0

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

SRI: sha512-EFaRLQlcLcuBI9+Ptqdqo6pNiZMUfSeYgpUciwkFrW7k6I/ZUUNFYWOO6WWaI9iVCheJQCi3T69rknBXFhrTAg==

Release date: 28.04.2025

Support end date: 28.07.2025

  • Added support for common default values in style groups, configurable via the Style editor.
  • Fixed glTF model rendering issues.
  • Fixed rendering artifacts on overpass borders.
  • Fixed incorrect display of the labelLine layer in floor plan mode.
  • Improved model rendering.

v1.58.1

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

SRI: sha512-bwC4kJmmB/O5XlHnagXKC/v+Cd91OzK/vRrIsshK+cyYPYjeYMHLzRznw3Ijr7Ewst830JBJZI37w+OJu9m4fA==

Release date: 25.03.2025

Support end date: 28.07.2025

  • Fixed map crash after multiple reloads on devices with iOS.
  • Improved Polyline accuracy.

v1.58.0

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

SRI: sha512-1ZbHAg0b3kIQc9vTo3Sfkt+zx/fjd1uJ4spIeXlZAuZGU5lbOLLeoQ13x9nqPpniYlPaPJ7Jkavvai3wvoMiBA==

Release date: 21.03.2025

Support end date: 25.06.2025

  • Improved globe rendering in dark mode: the halo intensity is now adjusted via the color's alpha channel.
  • Fixed HtmlMarker behavior in globe mode.
  • Fixed handling of point objects for floors: metro station transitions are now visible on floor plans.
  • Fixed the behavior of the lowZoomMaxPitch parameter in globe mode: empty tiles do not appear in the visible area.

v1.57.0

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

SRI: sha512-r04yjbUQX+eqmORerLRS4gJLXqSnrhnvFb3YP1/iuIf3ncBI3l2cg0L5E6ryNWH1sBQ4pv7IRSAZ8x/cl1D2Uw==

Release date: 26.02.2025

Support end date: 21.06.2025

  • Fixed behavior of styleload event emitter.
  • Fixed 3D model positioning on devices with Android.
  • Fixed tile displacement.
  • Enabled managing 3D models display in graphics presets.

v1.56.0

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

SRI: sha512-Z8csu1vPzDUceoCXeHVyZy7zHL/P+s2QUz3iU0KxAuXzsEv3/+XiyYJCmCnFhwbxYyYWnaegwsmC8cwZWdIp/g==

Release date: 03.02.2025

Support end date: 26.05.2025

  • Added the enableTwoFingerDragging parameter for enabling two-finger drag gestures.
  • Fixed dashed lines disappearing at low zoom levels.
  • Added the globeOff flag for controlling globe mode in graphics presets.
  • Fixed errors on systems with DirectX 9.
  • Fixed polyline identification at low zoom levels and when overlapping 3D objects.

v1.55.0

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

SRI: sha512-DjgDZRgbjNFjD7GS+e5OXSUJP+iSpGGffsvSktmPrNL1KIFLV0trBUA5a7hTsvjK0z2vTwI8c99WEXGu5M//2w==

Release date: 25.12.2024

Support end date: 03.05.2025

  • Added the labeling parameter to HtmlMarkerOptions.
  • Added graphics presets.
  • Added the methods for the LngLatBoundsClass class: getCenter(), containsPoint(), containsBounds(), and intersects().
  • Added the GeoJsonViewportSource data source.
  • Fixed marker display on some devices with Android.
  • Improved rendering performance of glTF models.

v1.54.1

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

SRI: sha512-LE96WllmU9YC48MDF3bhdfOsvJ1YUpPho6N3qnV/+nOEKLWCr3L6v6nx4u0guppQ1tHm/NyUWdmv1ucS8A4bWw==

Release date: 10.12.2024

Support end date: 25.03.2025

  • Improved glTF model animation performance when the camera is static.
  • Improved dashed line rendering.
  • Fixed binding of uniform variables.

v1.54.0

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

SRI: sha512-9+vHPwIK4MNsAcrgj7SYCOEoP/v1e5GUhfrnlqpqI89dXk6Uc3NLAcqWpVKuSOUxqc3QmKmA3RkAULThyVgI+w==

Release date: 05.12.2024

Support end date: 10.03.2025

  • Added support for height in meters specified as the third coordinate component in the CircleMarker.
  • Added support for glTF models without textures: for calculating color, the baseColorFactor parameter is used according to the glTF specification.
  • Fixed viewport calculation for 3D terrain.
  • Fixed tunnel rendering on devices with Windows and Intel GPU.
  • Improved the tile selection algorithm.

v1.53.0

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

SRI: sha512-h4DhIF0P7Yg4+AO8q9rjbWav4BT24bp1vSgdzJDNALlmYbHq8ztE/zYaWvTYUqBwo7rJdpKO/D3Hp7FMEDnFvA==

Release date: 05.11.2024

Support end date: 05.03.2025

  • Fixed map rotation on iPad.
  • Fixed identification of overlapping dynamic objects.
  • Added support for the next major version of the ZenithSource tile format.

v1.52.0

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

SRI: sha512-YbkONEIEUmPX0wzc61pvjG+4dGO3j+ptaHGW6+dw/RKpBIYSKPZZ+9rRx2nP9kj1jI3gePbMWXzSvTMOvyltUA==

Release date: 21.10.2024

Support end date: 05.02.2025

  • Fixed an issue where clicking on one POI would select another.
  • Added the layerId property to the targetData field of map events.
  • Fixed console warnings and model disappearing when switching styles.
  • Reduced shadow artifacts appearing at a distance from objects.
  • Added support for height in meters for markers specified as the third coordinate component.
  • Fixed a rendering cache error on certain devices.
  • Added support for disabling the rendering cache.
  • Fixed incorrect display of building elevation on systems with DirectX 9.
  • Added support for rendering floor polygons using the polygonExtrusion style layer.
  • Added the tolerance parameter to the GeoJsonSourceOptions.

v1.51.1

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

SRI: sha512-IwmLD71Yr6ykwHdB1feTiEzbAymg+el6KCq76UZyiUA2J5tDZwqaxyehrNzmZJb84g1S5zMf3FiC7F1NPyVxkA==

Release date: 20.09.2024

Support end date: 21.01.2025

  • Fixed text rendering on intersecting substrates.

v1.51.0

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

SRI: sha512-jqmwyq7o9p8tRznMn4GTrXdYmT0ivo2CmwM0dzMDY55fMqPrfDhhvmV0IBRprhgBLnQasJywe/zE0ZmuJIjuig==

Release date: 13.09.2024

Support end date: 20.12.2024

  • Fixed text rendering on intersecting icons.
  • Fixed memory leaks.
  • Fixed behavior of the showLayers() and hideLayers() methods when filtering by id.
  • Added the styleloaderror event.
  • Added parameters for the Polyline: renderingMode, hiddenPartColor, and hiddenPartGapColor.

v1.50.1

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

SRI: sha512-8wYWf8VcHOyGVLZ9R1TzsCuipxr9pM8I3sszN+8EnQLhQla1i7LWWT0DE7kvtbuu2zQf4G6i4i5HW3Zsel2c/g==

Release date: 23.08.2024

Support end date: 13.12.2024

  • Fixed icon transparency at low zoom levels.

v1.50.0

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

SRI: sha512-UpeJha7+sJsAl9pwAOaoTjPz/d16MJBXVx1oqRTVVRX4Ja1BYQPvOdEiIPOf3y6sJL7Uu7rNyeLED8UM6IzNqA==

Release date: 19.08.2024

Support end date: 23.11.2024

  • Added support for using arbitrary string as IDs.
  • Added the opacity and hoverOpacity parameters to the Marker.
  • Added the promoteId and idScope parameters to the GeoJsonSource.
  • Fixed a performance issue of the RasterTileSource on devices with Retina displays.
  • Fixed shadow rendering for specific 3D models.
  • Improved performance on devices with low-performance CPUs.
  • Optimized the setIcon(), setHoverIcon(), and setRotation() methods of the Marker object when called with the same parameters.

v1.49.0

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

SRI: sha512-UJSlwASCc8ZUaznYBIzhy1rOpH7x6tNH0bQXOM06YVPm3e5D52njA0z6mTxat1W8It4b1L3pgJcQbkVLQEXwSw==

Release date: 22.07.2024

Support end date: 19.11.2024

  • Added shadow rendering.
  • Enabled hiding layers by type using the showLayers() and hideLayers() methods.
  • Improved dashed polyline appearance at small segment angles.
  • Fixed an error where the interaction with the map UI controls triggered the form submission.
  • Fixed errors of loading SVG files with Unicode characters outside the Latin-1 range.
  • Fixed icon loading via data URL.
  • Fixed multiple requests for traffic metadata.

v1.48.0

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

SRI: sha512-90FUY1z5cb/cDXCj/R1I9UCfH2ZRZe3SS7s6kxfhWCLtP8riZNzv4EpRDkHNOSqut0plt6gHQhVWj125cQYrig==

Release date: 25.06.2024

Support end date: 22.10.2024

  • Added the hasLayer() map method.
  • Added support for the Georgian language.
  • Fixed sorting inside raster layer groups.
  • Fixed map crash when an invalid map center argument is passed.
  • Fixed an error where the ScaleControl UI control for managing the map scale was not updated when the map moved.
  • Fixed a black screen issue on old systems and mobile devices in desktop mode.
  • Fixed shader operation on systems with DirectX 9.

v1.47.1

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

SRI: sha512-vSLNOWM/3apNkb/R/zvXBGw/tZn6pzTM85fPGtzfzPqibXHBqoGQw7lrsyvMIbmuG3HhlR8hxSqGM8Y8sRbveA==

Release date: 13.05.2024

Support end date: 25.09.2024

  • Fixed an error where objects linked to a 3D model were hidden even if the model failed to load.
  • Fixed an error in the labelLine style layer when labels were rendered incorrectly if the textLabelingSideMargin value was smaller than lineEndingOffsets.
  • Fixed an error in the Label dynamic object behavior in looped map mode.
  • Fixed an error where objects linked to a 3D model might not be hidden if the same model is used by multiple objects.
  • Added support for the Armenian language. Slight differences may appear in screenshot font tests. It is recommended to update reference screenshots.
  • Added the setZIndex() method for HtmlMarker.

v1.47.0

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

SRI: sha512-rPwclEfHMQpmbj8wclml5yT2Xx5287HyGrn14AHO2Tz9/JyQ9/buWjk2QOO4+p0HKx2694SAsrHgQEciPp+VvA==

Release date: 15.04.2024

Support end date: 13.08.2024

  • Added the looped map mode.
  • Fixed an error where fog was not being applied to heatmaps.
  • Fixed a caching error when adding a GeoJsonSource.
  • Added the interactive and labeling parameters to the Label.

v1.46.0

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

SRI: sha512-rncqjHZLBpQ+ryDSqhk3YocpwDn2/XjU4W5KuRrCO1yPqueSikr8jpGvsGvaXP8UgxZQbs7cRWS4BXCPQ6pBeQ==

Release date: 27.03.2024

Support end date: 15.07.2024

  • Added the disableRounding parameter to the HtmlMarkerOptions for disabling rounding of coordinates.
  • Fixed label flickering on mobile devices.

v1.45.2

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

SRI: sha512-5kwPuvjt/ElOt/KPsraRJBGXFJaXPLnrF3yDE8G9GGnxkktyVuMZUivEb/fRDNbDlgOB9VAM4MW+kMu1YoMx+g==

Release date: 28.02.2024

Support end date: 27.06.2024

  • Fixed label disappearing after fog is disabled.
  • Optimized tile generation process.

v1.45.1

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

SRI: sha512-42TqTf1P9hFV2z8Heg85bSkJvOMjdO+mOScUBe6Gkg+Eo/ANGV/S+Zdx4C6sfL93WB09YTRTKqlB7i7egE0YxA==

Release date: 13.02.2024

Support end date: 28.05.2024

  • Added support for fog for raster tiles.

v1.45.0

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

SRI: sha512-kRIzzdchVN3RnvnHi0zhavjtO0ZmEvJeNV/CPKyPZSt+wrLh8KT5MUSpEjTvfps1nBJh/r+JeTSBYIJlKxX1Sw==

Release date: 02.02.2024

Support end date: 13.05.2024

  • Added the lowZoomMaxPitch parameter and the setLowZoomMaxPitch() method for the map.
  • Enabled configuring sky and fog in the Style editor.
  • Fixed an error of map scaling and rotation occurred if the disableRotationByUserInteraction parameter was set to true.

v1.44.0

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

SRI: sha512-jK0DkSp5sydUL8m4SIK3WGoTP3yHFY/ch/JvrAD8lb+7gP4b67mE7sxcCyz/EkyaFcJNFGR8j9BkILt5nRF5KA==

Release date: 19.01.2024

Support end date: 02.05.2024

  • Improved rendering of polygon side outlines.

v1.43.0

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

SRI: sha512-hpmXNqXbFJoXfnn1BniqaPzJ7XD/BNci2oy+X0gWNxf+VxBy8mMVOWFbH1kHKDaTypFA7Zk6Un2ICGHTemtVtQ==

Release date: 12.01.2024

Support end date: 19.04.2024

  • Added the setStyleFromUrl() method to the Map class for loading and applying a style from a URL.
  • Fixed post-effect shifting on devices with a fractional pixel ratio.
  • Fixed performance degradation after tile generation with a large number of buildings.
  • Improved scaling behavior for trackpads.
  • Improved rendering performance.

v1.42.0

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

SRI: sha512-w0WQIsSX8a7wdP6I9DGTJUuuNlRckdtSHrh5/bkHiM86pvMUrv7YBR4qIelWl0cHQKcn/AS4dXp/QVW/qucQcA==

Release date: 07.12.2023

Support end date: 12.04.2024

  • Improved glTF model appearance animation.
  • Expanded the rendering area for 3D models.
  • Fixed a shader accuracy error in Firefox browser.
  • Fixed building visibility when loading visible floor plans.
  • Fixed anti-aliasing occurring after calling the setViewport() method.
  • Fixed rendering artifacts in Chrome browser with Vulkan on Linux.
  • Improved map generation performance when buildings are replaced with 3D models or floor plans.

v1.41.1

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

SRI: sha512-I8tuzesRKXBeFCeSttN99f45ztx4N+hE8GrdJRjoLeL+NAbgn6ifuv8oVRW9+YZELBCtvn9WfjnEKY6tVcF/yg==

Release date: 07.11.2023

Support end date: 07.03.2024

v1.41.0

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

SRI: sha512-jZ32UcIX2ajjYAVm/SQDVl6pAwiHTiNBK6+2OuadCUWeWLG3Wl4TkB2bQcDDflQilfE5yIF/4sc52Eix5YQ1WQ==

Release date: 02.11.2023

Support end date: 07.02.2024

  • Added support for bbox in the RasterTileSourceOptions.url property for generating WMS (EPSG:3857) requests.
  • Added support for height in meters specified as the third coordinate in the HtmlMarkerOptions.coordinates property.
  • Fixed incorrect positioning of the Marker.
  • Fixed fog rendering for the CircleMarker.
  • Improved traffic tile generation performance.
  • Enabled using WebGL2 by default.
  • Enabled anti-aliasing by default for static map scenes.

v1.40.0

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

SRI: sha512-r/OJEdpyfWM54LutP4CT2MTYNNkT15IXIikFbuo3kZB7m1cF+x5c6B3pywvPv340sv/px72UT9kAZCaoZEoOSA==

Release date: 28.09.2023

Support end date: 02.02.2024

  • Updated the RTL plugin in the On-Premise image.
  • Fixed immersive model display.

v1.39.0

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

SRI: sha512-o0GTlexWkchK7CDoCyV3SZp3GyLwFEUyfHZbK1dAG/bziXm1+9VVW8+w4YPUhYyfiCF1LU0FTbItY3yFjA69TA==

Release date: 17.08.2023

Support end date: 28.12.2023

  • Added the MODELS_TILESET environment variable for On-Premise.
  • Fixed 3D model rendering at tile edges.

v1.38.1

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

SRI: sha512-ZI6DJ8Hheb/I2TPiV0Re4FqDxYu8Z+7gm5q5V857SxcSJ41fIBdcSZDmKgXAL9K9PvvwyRy4v2/IS/T3g7QkXQ==

Release date: 01.08.2023

Support end date: 17.11.2023

  • Added WebGL2 support for 3D terrain.
  • Improved performance.

v1.38.0

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

SRI: sha512-1MGyRisT/ONz76o2b+ZWobmoenz9F5JQJmXpcCakOTSpK3d/Fg//4NrlhaEJqg6QQ7HpigE/UVuAsnc2lnzUiA==

Release date: 20.07.2023

Support end date: 01.11.2023

  • Set floor plans to appear from style zoom level 18 and higher.
  • Added support for the multipoint data type used for 3D model data from the default data source.
  • Added support for 'db_icon' as an argument for the get expression in the default data source.
  • Fixed an issue where building polygon did not appear after zooming out from a glTF model.
  • Fixed an issue where floor plan objects became non-interactive after a glTF model disappeared.

v1.37.2

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

SRI: sha512-oPjl7LaNTqPDxqnCPAJ9etDEwuzR7pYAIwNcaZseA0q455Fu9WLXYgQKU4mt13/BrEpXyM40EFyuNgwOpT0bOw==

Release date: 26.06.2023

Support end date: 20.10.2023

  • Fixed a degrading of model batching performance.
  • Fixed an issue related to model ID handling.

v1.37.1

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

SRI: sha512-YBbAI5l5wsQZRSdBKOX2JMyU/Jiojkno6BYq5yQqvWPSzxX2JP4RHe/+ELArpCliAMTn4pDUeB3yg48hmAS5Lw==

Release date: 22.06.2023

Support end date: 26.09.2023

  • Fixed public type references.

v1.37.0

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

SRI: sha512-YBbAI5l5wsQZRSdBKOX2JMyU/Jiojkno6BYq5yQqvWPSzxX2JP4RHe/+ELArpCliAMTn4pDUeB3yg48hmAS5Lw==

Release date: 22.06.2023

Support end date: 22.09.2023

  • Enabled the glTF models default source.
  • Enabled anonymous statistics reporting.
  • Fixed map background color when toggling terrain.
  • Fixed a rendering issue where glTF models partially turned black on some platforms.
  • Fixed an issue where map objects turned black before the map style is loaded.
  • Fixed the height of building labels.
  • Fixed handling of null properties in GeoJSON.
  • Improved tile loading and floor plan cache management.

v1.36.0

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

SRI: sha512-xXnVboB2zu22ckxAR5Gl1W6YtkXFTnwgw6BWEN+xDoL8jiXEDXx8MnpUkTr/X9M2eg5vzEVwnJKfoZCWB1092Q==

Release date: 24.04.2023

Support end date: 22.09.2023

  • Enabled covering the polygon layer with a texture pattern.
  • Enabled using gradients for sideColor attributes.
  • Enabled rendering .gltf and .glb models.
  • Fixed an error in the calculation of building label height.

v1.35.1

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

SRI: sha512-YA9PUiFN4s/AYd7HEOV9xBPbkFL3EKYujzr92C71x0iC47SuJkgo4kOPbLhXkqR4nKtasoHaQu0MH8W7HzCp/w==

Release date: 05.04.2023

Support end date: 24.07.2023

  • Restored handling of map click events when adding a marker with terrain enabled.
  • Fixed infinite map resizing when the enableTrackResize map option is enabled.
  • Added default values for the style and styleOptions in On-Premise.

v1.35.0

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

SRI: sha512-I95x74802tV3xu17WWqnJW4DQkk42bSUAFc94Vy568Gf3B5BqiZ1XUAlu8zm3e/v8M8bysMMXJXrqhPbQgUxGg==

Release date: 15.03.2023

Support end date: 05.07.2023

  • Added the enableTrackResize parameter for automatically updating the map when the HTML container is resized.
  • Fixed display of incorrect glyphs in the RTL plugin.

v1.34.1

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

SRI: sha512-fa19VYYu0LEST0tT277ZMSjJBAyEjmtFf2x8fu6sdq3JiLvkrHpoqfuD0iU5N0STBUSMSL+zyC56gX2ihCQ/tg==

Release date: 21.02.2023

Support end date: 15.06.2023

  • Fixed behaviour of incremental map rendering at startup.
  • Fixed incorrect rendering order of markers with an icon when hovered.
  • Fixed redundant refetching of 3D models when changing styles.

v1.34.0

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

SRI: sha512-zpgmQsv2r+efNg3DU3Du2cWmrDvgTinOrUWOWB3+aLntJrSzHb5x38JF85snUmA5+xHELqV0FEb53Waez76AZg==

Release date: 26.01.2023

Support end date: 21.05.2023

  • Added support for using the 'db_id' as an argument for the get expression in the default data source.
  • Fixed rendering of raster tiles and POIs in Chrome browser on Ubuntu with Intel UHD Graphics.

v1.33.1

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

SRI: sha512-ecpxdRbZJWOQJDpv3ACErJz4VMEC0NeU2biwa1O7ZMnqCC/9KeUO8tBlI0Oh/06bg0zrW99NHTJO9UGlvvqqYg==

Release date: 21.12.2022

Support end date: 26.04.2023

  • Fixed path check in the On-Premise Docker image.

v1.33.0

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

SRI: sha512-p6MxOVcMREpUCahQl4JzZmE9MJuHkeM9KNPuvg+XvNV10iL0gHYFe3Cw8r/dN1Dl5S7w4aF6zwD6OcmkYmcxFA==

Release date: 12.12.2022

Support end date: 21.03.2023

  • Added the maxZoom parameter to the fitBounds() method for limiting the maximum zoom level.
  • Added the ^ and log10 style expressions.
  • Fixed the default marker anchor for an icon.
  • Fixed incorrect applying of styles with the setFeatureStateMap() method for null and empty object values.

v1.32.1

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

SRI: sha512-wX/mh3xvoNQpp5jrSyastruOZPoZ0WsbsM3RVeNoZzmsX+6gwe9t6mraa7Jtt/5QbzmcJQolVusl+VY5WJFdLA==

Release date: 15.11.2022

Support end date: 12.03.2023

  • Added support for WebGL2. WebGL2 is enabled automatically, but you can use the webglVersion map parameter to specify the version.
  • Fixed the iconAnchor handling for landmark POIs.
  • Improved display of POIs at city scale.

v1.32.0

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

SRI: sha512-X7aLkkpQ5kEYCi3XnOTjkBdjjNge9AhqiFqKNt9rEE+YWybqe6ShTTDWjj63Q+g6DCHVbvEc9ylskSmkkXgdfw==

Release date: 03.11.2022

Support end date: 15.02.2023

  • Added support for a new version of tiles that will be enabled by default in a future release.

v1.31.1

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

SRI: sha512-ZBhsKGFxlh1lz+QCz7CBnqIJiszWTdysr1KeYp3GaQxi4RVzcfQHUvVaCHtu64gsndzah/ghFn9BWGAs6r6VCg==

Release date: 31.10.2022

Support end date: 03.02.2023

  • Fixed an error that broke the previous version of the npm package.

v1.31.0

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

SRI: sha512-ZBhsKGFxlh1lz+QCz7CBnqIJiszWTdysr1KeYp3GaQxi4RVzcfQHUvVaCHtu64gsndzah/ghFn9BWGAs6r6VCg==

Release date: 28.10.2022

Support end date: 31.01.2023

  • Updated the logo in the copyright.
  • Fixed incorrect display of labels when the RTL plugin failed to load.
  • Added the getStyleState() method for getting the current map style variables.
  • Added the useHeightForAnimation parameter to the setZoom() method for smooth simultaneous animation of the map center and zoom level.
  • Fixed an error in the addIcon() method that occurred when the icon path includes a protocol.
  • Fixed a broken JavaScript bundle for Edge 18 browser caused by the globalThis parameter.
  • Fixed incorrect rendering order of selected objects.

v1.30.1

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

SRI: sha512-UlnjOQ9o3i4uI7MCumlFFNtStFrjg0P6hW38lG6dOV8oZ3MN3ZtJ9RZSpQlP/adoXxnCeyWrQnuTOH7orPdmhg==

Release date: 12.09.2022

Support end date: 28.01.2023

  • Fixed incorrect applying of styles with the setFeatureStateMap() method when the 0 value is used.
  • Fixed an animation error in the fitBounds() method that occurred if the map scales faster than the map moves.

v1.30.0

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

SRI: sha512-16Btcu0P5rjeGYb7bXYb3wTL9a6yzMmsIb6zjwwnrV1YACt+cCFB9Im0JaUtqClnaV0zk3l2NMbNJQ1VfXO5Gg==

Release date: 02.09.2022

Support end date: 12.12.2022

  • Updated behaviour of non-stretchable icons: now, the size is specified in the style layer instead of the icons field.
  • Added the addIcon() method.
  • Added the floorId field to map event data.

v1.29.0

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

SRI: sha512-64sI8xrPZz6WTEag8ZrLBKATdvlomDhh2aXgOCW41G0a85Nfg9bE03X8CsCFljwJoVNEGzpqBj7rfI5wxW8feA==

Release date: 26.07.2022

Support end date: 02.12.2022

  • Added the setFeatureStateMap() method.
  • Fixed an error of scaling after intensive interaction with the map on Safari browser for iOS.
  • Fixed an error that occurred during sequential layer removal.

v1.28.0

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

SRI: sha512-vfkLFA7TxzG/i8J74JtXtjSahwjcYNYErnFxw+YE95yeFHPg3STjlU+KHz3gAtzu3PDREeLOajAb8nm+UKGPLg==

Release date: 27.04.2022

Support end date: 26.10.2022

  • Added the Raster class for rendering arbitrary images on the map within specified coordinates.

v1.27.0

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

SRI: sha512-QEKWeB9ztMmEKV4z0+vdykUHXmsxctnXzaUE8uimJqaEheEWlqI1EycQrrx2h+kb53jcC2JVH+8DfdgcSEhIDQ==

Release date: 26.04.2022

Support end date: 27.07.2022

  • Enabled drawing point objects along linear objects from 2GIS tiles.
  • Disabled the Google Analytics statistic collection by default.

v1.26.0

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

SRI: sha512-2mejYMySrrkqoSPSCbmE9Df7AukuaF6X35nm0Lh/CYmFvDRBJiobKGvvBZMYYURqmnjHT1LWg47qOl0mY9G6dQ==

Release date: 18.04.2022

Support end date: 26.07.2022

  • Fixed map crash when an unknown style layer with missing fields (style, filter, etc.) is uploaded.
  • Added the getRotation() method for the HtmlMarker.
  • Added a UI control for managing the zoom level and the scaleControl map parameter.
  • Enabled smooth style changes for 3D models.
  • Changed the minimum zoom level for commercial POIs to 10.

v1.25.0

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

SRI: sha512-dKEiOJWpm9mCf3Hs281OrRdLK4OHcF+15KJA/A2nnIC/7uUrFjUAGwGKFbDBXzf3M9PGC3OkRpTt8lWC2zNnPQ==

Release date: 28.03.2022

Support end date: 18.07.2022

  • Added the to-color style expression.
  • Added the interactive parameter to the HtmlMarker.
  • Added an exception occurring when the id property of the Layer object is undefined.

v1.24.1

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

SRI: sha512-UxI6nCSCH7V1283JR5fA6J2lFoNhWfb2Kr4y63+kGq4t2GpnhQpdrHQvK94DIpTTzCOAQli/VcnHtPGEZvgLWw==

Release date: 10.03.2022

Support end date: 28.06.2022

  • Fixed label blinking after calling the geoJsonSource.setData() method.
  • Fixed an exception that occurred when calling the map.removeLayer() method for a non-existent style layer.

v1.24.0

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

SRI: sha512-TA2asa83r/M6+8SXgNzE3JpTpE6nG++0FQ1yxb/iIMuR5B3brg5bFdEc/dM7wCAiyZj8VPESlPbaqutPwR9Z+A==

Release date: 02.03.2022

Support end date: 10.06.2022

  • Added the iconOffset property to the point style layer.

v1.23.0

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

SRI: sha512-9AnRVsj0ANvT2fdNqt1x4cl0wab2wqGiogTxhlE+LoeXhhjX/Lx0SaYImdo2RTlk2MzlajYCjR2UMyUZFqCnGw==

Release date: 17.02.2022

Support end date: 02.06.2022

  • Added the isUser field to the moving event data to indicate whether the movement was triggered by a user gesture or an API method call.
  • Added the keepCenterWhileUserZoomRotate map parameter for preventing the map center from changing on scaling and rotation gestures.
  • Enabled changing GeoJsonSource data with the setData() method.
  • Added in, any, ==, !=, >, >=, <, <=, !, to-boolean style expressions.
  • Added the reserved style state variables _activeFloorBuildingIds and _activeFloorIds for styling objects based on active floor plan display.
  • Clarified the behavior of get, global, and sourceAttr expressions: they now return null if the attribute value does not exist.
  • Fixed an issue where the label background image was not hiding after calling label.hide().
  • Fixed an issue where the second label had an incorrect size during the labeling process.
  • Fixed an issue where the style layer filter worked only with match and all expressions.
  • Fixed an issue where the map threw shader initialization exceptions after the map instance was destroyed.
  • Declared the map.getProjectionMatrix() method as deprecated and is not recommended for use.

v1.22.0

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

SRI: sha512-rsmQRslZ64rAQirb3gjswyf/kXUM72jIzue1VXX5lyVrvoTJ3SgdLPtOj/YjtpbBc3XeMShzOuV77jBnQaxsGw==

Release date: 27.12.2021

Support end date: 17.05.2022

  • Added the heatmap style layer for displaying heatmaps.
  • Added support for the Arabic language.
  • Fixed buildings flickering when switching to 3D mode.
  • Added support for get expressions as interpolate expression arguments.
  • Changed the copyright display for new clients.

v1.21.1

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

SRI: sha512-0xv+n0ij4KSJW5ZMWQyaKnC5PGyZ3ms6+/cOh9+sKhXkVxAAJspaS7GrP0+Uz2jltY4h5FhzQ0YG4jn5qW1uNw==

Release date: 02.12.2021

Support end date: 27.03.2022

  • Fixed internal issues.

v1.21.0

Release date: 26.11.2021

Support end date: 02.03.2022

  • Added the userData field to all user object initialization parameters, for example the PolygonOptions. The field is available on user object instances as a public userData field.
  • Added the DynamicObjectPointerEvent type, available in object event listeners.
  • Added the minZoom and maxZoom parameters to the RasterTileSource.
  • Added the maxZoom parameter to the GeoJsonSource.
  • Fixed an error where GeoJsonSource objects rendering occurred when the minZoom of the object style layer exceeded zoom level 15.
  • Fixed polygon outline alignment with 3D buildings: the outline is now always flush with the polygon fill.
  • Fixed blurring of the raster tile layer.

v1.20.1

Release date: 27.10.2021

Support end date: 26.02.2022

  • Fixed an error where fonts were not loaded for the Marker and Label objects if the text contained glyphs from different font ranges.

v1.20.0

Release date: 27.10.2021

Support end date: 27.01.2022

  • Enabled displaying raster tiles. For details, see the Raster WMS/WMTS sources instruction.
  • Fixed an error where the styleload event was emitted before the style was loaded.
  • Fixed an error where fonts were not loaded for the Marker and Label objects.

v1.19.1

Release date: 15.10.2021

Support end date: 27.01.2022

  • Added a component for tracking commercial POIs display statistics on the map.
  • Changed the format of the sessionId parameter to UUIDv4.

v1.19.0

Release date: 07.10.2021

Support end date: 15.01.2022

  • Fixed an Unhandled Promise Rejection error that occurred if a new style was applied after map initialization.
  • Enabled displaying commercial POI for clients with the free tariff plan. This change applies to new clients only.

v1.18.0

Release date: 01.10.2021

Support end date: 07.01.2022

v1.17.0

Release date: 15.09.2021

Support end date: 01.01.2022

  • Fixed incorrect rendering of multipolygons in floor plans.
  • Enabled setting the rotation of the Marker icon.
  • Fixed incorrect anti-aliasing of polygons at zoom level 6 and lower.

v1.16.0

Release date: 06.09.2021

Support end date: 15.12.2021

  • Added topCenter, bottomCenter, centerLeft, and centerRight values to the ControlPosition.

v1.15.2

Release date: 25.08.2021

Support end date: 06.12.2021

  • Fixed an issue where the map center changed when using the pinch to scaling gesture at the maximum map zoom level.
  • Now, if the requested style is not available on the style server, the previous or default style is used.

v1.15.1

Release date: 17.08.2021

Support end date: 25.11.2021

  • Fixed an issue where polygons became non-interactive when created in large quantities.
  • Fixed gaps in traffic lines.
  • Fixed an issue where labels from one GeoJsonSource permanently removed labels from another.

v1.15.0

Release date: 29.07.2021

Support end date: 17.11.2021

  • Added the GeoJsonSource class for displaying GeoJSON data on the map.

v1.14.1

Release date: 01.07.2021

Support end date: 29.10.2021

  • Fixed an issue where red lines appeared on the map when the style was empty or invalid.
  • Fixed an issue where traffic lines were drawn incorrectly.

v1.14.0

Release date: 23.06.2021

Support end date: 01.10.2021

v1.13.0

Release date: 21.05.2021

Support end date: 23.09.2021

v1.12.1

Release date: 16.04.2021

Support end date: 21.08.2021

  • Fixed traffic jam styles in the Style editor.

v1.12.0

Release date: 09.04.2021

Support end date: 16.07.2021

  • Applied internal changes and fixed issues that do not affect the map engine.

v1.11.0

Release date: 05.04.2021

Support end date: 09.07.2021

v1.10.1

Release date: 29.03.2021

Support end date: 05.07.2021

  • Updated the getContainer() method to return the HTML element provided by the user.

v1.10.0

Release date: 25.03.2021

Support end date: 29.06.2021

  • Added the getContainer() method.
  • Added descriptions of types and interfaces in methods for working with floor plans.

v1.9.2

Release date: 22.03.2021

Support end date: 25.06.2021

  • Applied internal changes and fixed issues that do not affect the map engine.
  • Fixed an error of selecting the map container on long tap on devices with iOS.

v1.9.1

Release date: 12.03.2021

Support end date: 22.06.2021

  • Applied internal changes that do not affect the map engine.

v1.9.0

Release date: 03.03.2021

Support end date: 12.06.2021

  • Added support for passing the InterpolateExpression to the width, width2, and width3 parameters in the PolylineOptions.
  • Fixed road rendering.

v1.8.1

Release date: 01.03.2021

Support end date: 03.06.2021

  • Fixed an error in the MapGL JS API npm package.
  • Added the setMaxBounds() method.

v1.8.0

Release date: 24.02.2021

Support end date: 01.06.2021

v1.7.1

Release date: 02.02.2021

Support end date: 24.05.2021

  • Fixed an error in the fitBounds() method that occurred when the rotation had a negative value or was not specified.

v1.7.0

Release date: 29.01.2021

Support end date: 02.05.2021

  • Added the fitBounds() method for moving and scaling the map to fit specified geographical bounds.
  • Added the isSupported() method for checking whether the current browser supports MapGL JS API.
  • Added the notSupportedReason() method that returns the reason why the current browser does not support MapGL JS API.

v1.6.2

Release date: 24.12.2020

Support end date: 29.04.2021

  • Fixed an error where the map inertia did not work if the styleZoom parameter is set.

v1.6.1

Release date: 22.12.2020

Support end date: 24.03.2021

  • Fixed map center behavior when using different zoom types. If the styleZoom is set, the map style zoom does not change while dragging the map. If the zoom is set, the map zoom does not change, but the style zoom does.

v1.6.0

Release date: 18.12.2020

Support end date: 22.03.2021

  • Added the styleZoom map parameter for setting the zoom level used in style settings. The styleZoom and zoom parameters set the same map zoom level in different projections.
  • Added the setLanguage() method for changing the map language.
  • Added the getLanguage() method that returns the current map language.
  • Fixed an error with touch events that caused an exception with undefined.

v1.5.0

Release date: 10.12.2020

Support end date: 18.03.2021

  • Added the setStyleById() method for changing the map style by ID.
  • Added the defaultBackgroundColor map parameter for setting the background color while the style is loading.
  • Added the style map parameter for initializing the map with a specified style ID.

v1.4.3

Release date: 01.12.2020

Support end date: 10.03.2021

  • Applied internal changes that do not affect the map engine.

v1.4.2

Release date: 09.11.2020

Support end date: 01.03.2021

  • Applied internal changes that do not affect the map engine.

v1.4.0

Release date: 22.10.2020

Support end date: 09.02.2021

  • Added the setStyleZoom() method for setting the map style zoom.
  • Added the maxBounds map parameter for restricting the map to a specified bounding box.

v1.3.2

Release date: 07.10.2020

Support end date: 22.01.2021

  • Fixed re-rendering on devices with iOS 14 and others.

v1.3.1

Release date: 22.09.2020

Support end date: 07.01.2021

  • Fixed re-rendering on devices with iOS 14.

v1.3.0

Release date: 18.09.2020

Support end date: 22.12.2020

v1.2.0

Release date: 26.08.2020

Support end date: 18.12.2020

  • Added the relativeAnchor and offset parameters to the LabelOptions for positioning of labels. Declared the anchor parameter as deprecated.
  • Added support for the label positioning parameters in the Marker object.

v1.1.0

Release date: 04.08.2020

Support end date: 26.11.2020

v1.0.0

Release date: 21.07.2020

Support end date: 04.11.2020

First release with a fixed version.

Old releases

05.06.2020

  • Added the disableZoomOnScroll parameters to the MapOptions for disabling scaling on scroll when the cursor is over the map container.

19.05.2020

  • Added the setSelectedObjects() method to the Map for selecting any object on the map.