Skip to content

Releases: ThinkGeo/VectorMap-js

v3.0.0

30 Apr 11:56
Compare
Choose a tag to compare

Improvements

  • With the ability to take the advantage of GPU-accelerated, compared with the previous version, it's much more responsive especially on mobile devices, and it's using less memory on client side as well.
  • This version fixed an issues where some tiles might fail to render after zooming/panning for over 10 minutes.
  • This version supports rotation on mobile devices.
  • This version fixed an issue where the map might flashing when zooming/panning.
  • This version used less CPU and GPU memory.
  • This version adjusted the drawing order of polygon/line/point for color blending.
  • This version rewrote the logic of cutting polygons for drawing inner ring and outer ring correctly.
  • This version fixed an issue where the crossroad is not drawing correctly.

Docs & Web Site

  • Created the detailed documentations for "Getting Started", "How to Styling", "How to work with other vector tile providers" etc.
  • Applied "Travis CI" to repository to make sure it can be passed always.

V2.0.2

20 Dec 02:52
Compare
Choose a tag to compare

API Changes

  • Added an option parameter ‘urls' for 'ol.mapsuite.VectorTileLayer' constructor.
  • Added function 'setUrls' to 'ol.mapsuite.VectorTileLayer' to reset the tile request url.

V2.0.1

13 Dec 10:32
Compare
Choose a tag to compare

Improvements

  • Improve cache structure to reduce memory footprint.

API Changes

  • Added a property ‘cacheSize’ for ol.mapsuite.VectorTileLayer, it can set the count of cached tiles. The default value is 64.

Hotfix

  • Runs into memory leak after panning around the map after dozens of minutes.

V2.0.0

10 Dec 10:20
Compare
Choose a tag to compare

Improvements

  • Upgraded to OpenLayers 5.*
  • Added ES6 Module Build and rollup.
  • Added the support of loading vector features from EsriJSON, GML, GPX, GeoJSON, KML, Vector Tile (MVT), WFS, WKT or WMS, and drawing with StyleJSON file or object.
  • Supported loading Vector Tile with a default styling, from any resources, MapBox, OpenMapTiles, ESRI or any others who is in format of *.pbf or *.mvt.
  • Improved the algorithm of labeling along the roads.
  • Improved the algorithm of labeling the symbols of roads.
  • Improved the WebWoker, put all calculation into background-thread to improve the performance.
  • Improved the memory cache, decrease the size of memory used.
  • Added the support of loading tiles while drag-panning the map.
  • Improved the strategy of canceling the requests which are beyond of current view port.
  • Optimized the tile cache strategy and decrease the count of tile request.
  • Improved the infrastructure and tried to making OpenLayers upgrade as a replacement module.
  • Changed the animation of stretching previous tiles to drawing features from previous zoom levels with current zoom level style, while zoom in/out the map.

API Changes

  • Added property "maxDataZoom" to "ol.mapsuite.VectorTileLayer" to allow to specify what max zoom of Vector Tile data that Map Engine can be read.
  • Added tag "dataProjection" to the "Source" node in StyleJSON , which only has impact to ol.mapsuite.VectorLayer. It's used to specify the projection of source data.
  • Added tag "featureProjection" to the "Source" node in StyleJSON , which only has impact to ol.mapsuite.VectorLayer. It's used to specify what projection you want to change data from source.

Bug Fixes

  • Fixed a bug that some tiles are failed to be drawn.

Docs & Web Site

  • Created more than 40 sampels for VectorMap.js Vector Map Samples
  • Created the detailed documentations for "Getting Started", "How to Styling", "How to work with other vector tile providers" etc.
  • Applied "Travis CI" to repository to make sure it can be passed always.

V1.0.2

15 Nov 03:00
Compare
Choose a tag to compare

This version is targeting to support drawing Vector Tile (mvt, pbf) with HTML5, based on OpenLayers V4.0. it's developed with Microsoft Type Script. This is the first stable version of VectorMap.js.

We are continuing to work toward more features, such as wrap classes as ES6 modules, support more vector types, make it less couple with OpenLayers, drawing with WebGL, develop it with pure JavaScript instead of Type Script etc.