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
in maptalks.CRS
- Add a new option
removeVertexOn
in geometry.startEdit
to customize event to remove a vertex
- Extract a new mixin
ImageGLRenderable
from TileLayerGLRenderer
- Add
drawTinImage
in ImageGLRenderable
, 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