Releases: maptalks/maptalks.js
Releases · maptalks/maptalks.js
V0.36.0 Released
Features
- Add a new option
dragRotatePitch
to enable map to drag to rotate and tilt at the same time.
Example - Add projection parameter in
maptalks.Extent
to support extent crossing anti-meridian like from [170, 20] to [-160, 40]
const extent = new maptalks.Extent(170, 20, -160, 40, map.getProjection());
extent.contains([180, 40]); //true
- Add a new method
fromProjectionCode
inmaptalks.CRS
- Add a new option
removeVertexOn
ingeometry.startEdit
to customize event to remove a vertex - Extract a new mixin
ImageGLRenderable
fromTileLayerGLRenderer
- Add
drawTinImage
inImageGLRenderable
, prepare for some tin painting
Fixes
- Fix a bug when updating spatial reference and swtiching GroupTileLayer's child layer.
Improvements
- Some perf improvement in layer canvas image rendering
V0.35.1 Released
Features
- Add a new control
maptalks.control.LayerSwitcherControl
(example). By @1dent1ty in #547 map.addLayer
supports rest arguments now- Add a new method
endDraw
method in DrawTool - Add two method in Layer,
setOpacity
andgetOpacity
- Reimplement 3D transform matrixes
- Add two new symbol properties
markerHorizontalAlignment
andmarkerVerticalAlignment
- Add 4 new event in Map:
rotatestart
,rotateend
,pitchstart
andpitchend
- Add 2 new method in Map:
getGLZoom
andgetGLScale
Fixes
- Fix several compatible bugs on IE9
- Fix an error to setCoordinates when geometry is being edited, as #551
- Fix event on/off with event map object
- Fix linestring/polygon with altitude's painting
- Fix wrong extent of rectangle with a reversed fullExtent of identity projection
- Fix WMS parameters with WMS version < 1.3.0
- Fix tilelayer's rendering after setting zoom without animation
- Fix infowindow's reopen, as #546
- Fix SVG marker painting on firefox, as #543
- Fix black tile image on IE, as #541
Improments
- TileLayer, change tile texture's min filter to make tile look more clear
Contributors
V0.34.0 Released
V0.33.1 Released
Fixes
- Fix position of marker's auto open infowindow, as #525
V0.33.0 Released
Features
- Add a new option "autoOpenOn" to InfoWindow, as #525
- Add a new event "renderercreate" to Layer
V0.32.4 Released
Fixes
- Reset map's
fpsOnInteracting
from 0 to 25, as #526
V0.32.3 Released
Fixes
- Fix unexpected page scrolling when dragging map by touch events on mobiles, this is a regression bug in v0.32.2.
V0.32.2 Released
Improvements
- Reduce tiles number to load when tilting
- Ignore dragging out of map
V0.32.1 Released
Features
- Add current coordinate in path.animateShow, as #523 , by @liubgithub
Improvements
- Improve map dragging when tilting
V0.32.0 Released
Features
- Map can tilt to 80 degree now (60 degree previously)
- Add 2 more options on map:
maxPitch
andmaxVisualPitch
- Add
autoCloseOn
in InfoWindow, as #515, proposed by @shanyipeng
Fixes
- Fix mouse position offset with 'transform:scale', see #450
- Fix wrong extent of rectangle with a reversed fullExtent of identity projection