Releases: maptalks/maptalks.js
Releases · maptalks/maptalks.js
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:
maxPitchandmaxVisualPitch - Add
autoCloseOnin 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
V0.31.0 Released
Features
- Fractional zooming on mobile
- Add a new Layer GroupTileLayer
- Add 2 new methods on map
hasPreviousView()andhasNextView()for view history
Fixes
- Use jsonp instead of xhr to load arcgis config to avoid CORS blocking
- Fix map bouncing when hitting min/max zoom
- Fix tile gap of tilelayer on mobile
- Fix map.getZoomForScale
- Fix background painting when rotating canvas tilelayer
Breaking Changes
- Change
getPreviousViewandgetNextViewtozoomToPreviousViewandzoomToNextView
V0.30.2 Released
Fixes
- Fix dxdy in marker symbolizers
- Add validity check in spatial reference full extent
V0.30.1 Released
Fixes
- Fix maptalks.Util.now()
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
getCenterInExtentin 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.animateTofor map animation - Add
Map.isFullScreen(by @1dent1ty) - Add
UIComponent.getOwnerEvents - Add
Map.isAnimatingandmap.isRotating - Add a new markerType
rectangle - Add
Map.getPreviousViewMap.getNextViewgetViewHistoryfor map view history - Add
Geometry.redoEditGeometry.undoEdit(proposed by @axmand) - Add
LineString.animateShowandPolygon.animateShow(inspired by @NStal) - Add
DrawTool.redoandDrawTool.undo - Mimic
dblclickwith touch events on mobiles - Add
dragstart/dragging/dragendevents to Panel Control - Add
UIMarker.flash - Add
canvasoption inLayerto replace default canvas with your own canvas element - Add
getCenterInExtentin LineString/Polygon/MultiLineString/MulPolygon to get center of intersection between geometry and extent - Add
cssoption 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.getClasstogetJSONClass - reimplement
TextBoxandLabel, see #462