MapBox-gl-js v0.40.0 发布,MapKit 开源实现

栏目: 软件资讯 · 发布时间: 8年前

内容简介: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 d...

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

完整版更新内容点此查看

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

爆款:如何打造超级IP

爆款:如何打造超级IP

【美】安妮塔•埃尔伯斯 / 杨雨 / 中信出版社 / 2016-1-10 / 49

哈佛商学院IP运营与产品管理方法论第一书,翻转长尾理论的重要著作! 电影大片、当红炸子鸡、百万畅销书背后的运营逻辑是什么? 《五十度灰》、Lady Gaga、维多利亚的秘密有何共同秘密? 漫威如何将蜘蛛侠、X战警、绿巨人打造成金矿? 皇马如何打造体育IP,一跃成为全球收 入最高的足球俱乐部? 爆款策略如何运用于电影、电视、音乐、出版、体育与商业各领域? ----......一起来看看 《爆款:如何打造超级IP》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

URL 编码/解码
URL 编码/解码

URL 编码/解码