Skip to content

V2.0.0

Compare
Choose a tag to compare
@Johnny-Zhangzhao Johnny-Zhangzhao released this 10 Dec 10:20
· 671 commits to develop since this release

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.