maptalks.mapboxgl icon indicating copy to clipboard operation
maptalks.mapboxgl copied to clipboard

MapboxglLayer for maptalks.js

Results 12 maptalks.mapboxgl issues
Sort by recently updated
recently updated
newest added

使用MapboxglLayer,给地图实例设置cssFilter不起作用,如何设置 cssFilter baseLayer : new MapboxglLayer('mapboxgl',{ glOptions : { 'style' : 'mapbox://styles/mapbox/satellite-v9', }, cssFilter: 'filter: invert(0) sepia(0) saturate(1.25) hue-rotate(0deg) brightness(1.15) contrast(1.35) grayscale(0.5)' })

mapboxglLayer.getGlMap().on('click', ev => { console.log(ev) }) 此时点击事件不会被触发

在拖动过程中,mapbox 底图会明显滞后于maptalks图层。使用同样的方法集成3D高德和百度地图,也是一样的滞后感。原因可能是mapbox的jumpTo是异步的。 问题:有没有更好的方式集成3D底图,比如mapbox和高德地图?

现有mapbox地图已经创建(存在),maptalks如何加载现有的mapboxgl,而不是重新创建? const map = new mapboxgl.Map({ container: containerMap, center: [0,0], zoom: 1, bearing: 1, pitch: 1, interactive: true, antialias: true, doubleClickZoom: false }); map已经创建, 如何用 maptalks去加载 现有的mapboxgl ,而不是重新创建?

创建一个地图,style自行替换 var map = new maptalks.Map('map', { center: [114, 31], zoom: 10, baseLayer: new maptalks.MapboxglLayer('tile', { glOptions: { 'style': 'http://ip/styles/style.json' } }) }); var layer = new maptalks.VectorLayer('vector', {forceRenderOnMoving: true}).addTo(map);...

After the geojson data is converted to geometry, how do I add click events to the geometry set? When do I want to display some information about the geometry in...

I added a search control from mapbox, but couldn't click on it. It's like mapbox layer is simply merged to canvas. But if you use tab to get to the...

Failed to compile. ./node_modules/[email protected]@maptalks.mapboxgl/dist/maptalks.mapboxgl.es.js Module not found: Can't resolve 'mapbox-gl' in 'D:\w-code\neweconomy\nc\node_modules\_maptalks.mapbo [email protected]@maptalks.mapboxgl\dist'

设置4326投影地图调用mapboxgl图层会出现异常,另,还有没有别的方式调用矢量切片