Skip to content

V0.37.0 Released

Compare
Choose a tag to compare
@fuzhenn fuzhenn released this 11 Jan 05:08
· 1429 commits to master since this release

Features

  • Enable TileLayer to load tiles with different spatial reference from map, as #561
    • e.g. A map with 4326 projection load tiles of 3857 projection, example
  • Add support of base64 images as linePattern or fillPattern symbol
  • Change to draw texthalo with outer stroke instead of inner+outer stroke, as #563
    • inner + outer (old)
      tim 20171218215338
    • outer (new)
      tim 20171218215334
  • Add smoothness option in LineString/Polygon to draw line smoothly with bezier curve
  • Add a uid on map instance, obtained by map.id
  • Add two new events removestart and removeend to map
  • Add two new events tileload and tileerror to TileLayer
  • Add zoomBackground option in TileLayer to control whether to show a background after zooming
  • Add attribution in Layer.options, to display in maptalks.control.Attribution

Fixes

  • Fix screen point projection from world point, when it's behind camera, as #574
  • Fix conflict of map.animateTo and scrollZoom
  • Fix not thrown viewchange event when view hits view history
  • Fix VectorLayer.setOpacity
  • Fix little tail of LineString/Polygon when using DrawTool to draw on mobiles, as #560
  • Fix InfoWindow's map events listening
  • Fix layer canvas resize on retina screen
  • Fix text repaint when geometry's properties is updated, as #570
  • Fix zoomable option doesn't work, as in #579

Breaking changes

  • Seperate createContext and createCanvas in CanvasRenderer
  • Remove shadow options in geometry, change to define shadow in symbol, as #577
  • Add createCanvas2 in ImageGLRenderable, in case another canvas is needed in layer renderer
  • QuadBezierCurve changes to treat coordinates as control points

Contributors