Releases: maptalks/maptalks.js
Releases · maptalks/maptalks.js
V0.30.0 Released
Features
- Replace TileLayer's dom renderer with gl renderer (webgl)
- Add a new event "mouseenter" in geometry's events
- Add "canvascreate" event in CanvasRenderer
- Add support of "identity" in function-type
- Add "drawAltitude" for geometry with altitude
- Add support of seperate altitude for each vertex of LineString
Fixes
- Fix overview control perspective with pitch and rotation
- Fix text's dxdy with rotation
- Fix once's off in Eventable
Breaking changes
- Rename VectorLayer "enableHeight" to "enableAltitude", "heightProperty" to "altitudeProperty", and change default altitude property to "altitude"
- Change attribution control's default position
V0.29.0 Released
Features
- Add
getCenterInExtent
in LineString/Polygon/MultiLineString/MultiPolygon to get center of intersection between geometry and given extent - Add dom parameter in map.requestFullScreen
Fixes
- Fix menu dom's style updating
Contributors
V0.28.0 Released
Features
- Support dom element for attribution control
- Add a new map handler
Map.BoxZoom
- Add
Map.animateTo
for map animation - Add
Map.isFullScreen
(by @1dent1ty) - Add
UIComponent.getOwnerEvents
- Add
Map.isAnimating
andmap.isRotating
- Add a new markerType
rectangle
- Add
Map.getPreviousView
Map.getNextView
getViewHistory
for map view history - Add
Geometry.redoEdit
Geometry.undoEdit
(proposed by @axmand) - Add
LineString.animateShow
andPolygon.animateShow
(inspired by @NStal) - Add
DrawTool.redo
andDrawTool.undo
- Mimic
dblclick
with touch events on mobiles - Add
dragstart
/dragging
/dragend
events to Panel Control - Add
UIMarker.flash
- Add
canvas
option inLayer
to replace default canvas with your own canvas element - Add
getCenterInExtent
in LineString/Polygon/MultiLineString/MulPolygon to get center of intersection between geometry and extent - Add
css
option in Overview Control
Fixes
- Improve geometry rendering performance by clipping (inspired by Leaflet)
- Improve user experience of map wheel zooming
- Signifantly improve text rendering performance by caching text measurement
- Fix geometry renderering in anti-meridian
- Lots of other fixes
Breaking Changes
- rename
JSONAble.getClass
togetJSONClass
- reimplement
TextBox
andLabel
, see #462
Contributors
V0.27.0 Released
Features
- Add floor and ceil in Point class
- Fire resizing event when resizing a geometry
Fixes
- Improve geometry event performance by only iterating drawn geometries
- Improve dom tilelayer performance by changing opacity updating, thanks to Leaflet!
- Clear layer canvas when exceeding layerCanvasLimitOnInteracting
- Fix view point conversion, adding in offset between current frame and the next frame
- Fix TileLayer and VectorLayer rendering when spatial reference changes
Breaking Changes
- Add pointOffset in dragging event parameter and rename dragOffset to coordOffset
- Rename MapRenderer.callInFrameLoop to callInNextFrame
V0.26.3 Released
Fixes
- Fix stopPanAnimation in map's renderer
V0.26.2 Released
Features
- Add a new option "maxHeight" in ui.Menu to limit max height of menu
Improvements
- Improved performance of drawing layer canvas and moving dom panels.
V0.26.1 Released
Features
- tileSize option in TileLayer supports array now, e.g. [256, 256]
Fixes
- fix origin of TileLayer's dom renderer when zooming with bearing
V0.26.0 Released
Features
- Add a new layer: WMSTileLayer
- Add a new UI component: ToolTip, to show tooltips for geometries, proposed and developed by @liubgithub
- Add support of fractional zoom for TileLayer's dom and canvas renderers
- Add support of setting geographic height to geometries on VectorLayer, proposed by @liangweidong992052344
Breaking Changes
- Removed GeoJSONLayer, instead VectorLayer supports GeoJSON data now
- Reversed order of tileX and tileY in parameters of TileConfig
- Rename _getTileUrl in TileLayer to getTileUrl