发布于 2017-09-13 23:53:51 | 155 次阅读 | 评论: 0 | 来源: 网友投递
MapBox MapKit 的开源实现
MapBox 是 iOS 上 MapKit 的一个开源实现。
MapBox-gl-js v0.40.0 发布了,MapBox 是 iOS 上 MapKit 的一个开源实现。
主要更新内容:
改变
Map#addImage
now requires the image as an HTMLImageElement
, ImageData
, or object with width
, height
, and
data
properties with the same format as ImageData
. It no longer accepts a raw ArrayBufferView
in the second
argument and width
and height
options in the third argument.
canvas
sources now require a contextType
option specifying the drawing context associated with the source canvas. #5155
Bug 修复
Add missing documentation for mouseenter, mouseover, mouseleave events #4772
Add missing documentation for Marker#getElement()
method #5242
Fix bug wherein removing canvas source with animate=true leaves map in render loop #5097
提升
Added nautical miles unit to ScaleControl #5238 (h/t @fmairesse)
Add data-driven styling support for
完整版更新内容点此查看。
下载地址: