发布于 2015-07-30 00:32:37 | 303 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Mapbox GL 基于 WebGL 的矢量地图

Mapbox GL 是基于 WebGL 的客户端矢量地图,也是个 JavaScript 库。


Mapbox GL 0.9.0 发布,更新内容如下:

  • glyphs URL now normalizes without the /v4/ prefix for mapbox:// urls. Legacy behavior for mapbox://fontstacks is still maintained (#1385)

  • Expose geojson-vt options for GeoJSON sources (#1271)

  • bearing snaps to "North" within a tolerance of 7 degrees (#1059)

  • Now you can directly mutate the minzoom and maxzoom layer properties with map.setLayerZoomRange(layerId, minzoom, maxzoom)

  • Exposed mapboxgl.Control, a base class used by all UI controls

  • Refactored handlers to be individually included in Map options, or enable/disable them individually at runtime, e.g. map.scrollZoom.disable().

  • New feature: Batch operations can now be done at once, improving performance for calling multiple style functions: (#1352)

    style.batch(function(s) {
        s.addLayer({ id: 'first', type: 'symbol', source: 'streets' });
        s.addLayer({ id: 'second', type: 'symbol', source: 'streets' });
        s.addLayer({ id: 'third', type: 'symbol', source: 'terrain' });
        s.setPaintProperty('first', 'text-color', 'black');
        s.setPaintProperty('first', 'text-halo-color', 'white');
    });
  • Improved documentation

  • featuresAt performance improvements by exposing includeGeometry option

  • Better label placement along lines (#1283)

  • Improvements to round linejoins on semi-transparent lines (mapbox/mapbox-gl-native#1771)

  • Round zoom levels for raster tile loading (2a2aec)

  • Source#reload cannot be called if source is not loaded (#1198)

  • Events bubble to the canvas container for custom overlays (#1301)

  • Move handlers are now bound on mousedown and touchstart events

  • map.featuresAt() now works across the dateline

更多内容请查看:更新日志

该版本下载:v0.9.0

Mapbox GL 是基于 WebGL 的客户端矢量地图,也是个 JavaScript 库。



历史版本 :
Mapbox GL JS 0.40.1 发布,WebGL 矢量地图
Mapbox GL v0.12.4 发布,WebGL 矢量地图
Mapbox GL 0.12.3 发布,WebGL 矢量地图
Mapbox GL 0.12.2 发布,WebGL 矢量地图
Mapbox GL 0.12.0 发布,WebGL 矢量地图
Mapbox GL 0.11.5 发布,WebGL 矢量地图
Mapbox GL 0.11.4 发布,WebGL 矢量地图
Mapbox GL 0.11.3 发布,WebGL 矢量地图
Mapbox GL 0.11.1 发布,WebGL 矢量地图
Mapbox GL 0.11.0 发布,基于 WebGL 的矢量地图
Mapbox GL 0.10.0 发布,基于 WebGL 的矢量地图
Mapbox GL 0.9.0 发布,基于 WebGL 的矢量地图
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务