Fu Zhen
Fu Zhen
Hi, @xeolabs Would you consider to upgrade xeogl classes to ES6 class? Then we could use tools like babel / rollup to produce consumable distributions for AMD/UMD/Commonjs and ES6 bundlers.
这个看上去是近裁面的问题导致的,核心库1.0.0-rc.4版本中修改了近裁面参数,可以升级核心库后看看是否解决
我觉得从api设计上来说,这里是否需要throttle应该商榷: * throttle变成了强制性的,用户无法选择 * 用户可以通过throttle监听函数达到同样的效果 请p主参考
That is because mapbox map is loaded in maptalks's container behind canvas, and events are all intercepted. You can have a try to set `container` option of MapboxGLLayer to `front`...
可以看一下这个插件 https://github.com/maptalks/maptalks.mapboxgl
老版本的mapbox-gl的jumpTo没有出现你说的现象,可能是新版本里造成的。 不晓得是不是需要改成另外的方法?这个需要研究一下。 你有兴趣做一下研究,提个PR给我吗?
sorry,现在才看到,你分析的很像是原因,那可能需要找mapbox-gl中能在当前帧里就更新地图状态的函数。
应该是的,需要你自己手动引入mapbox-gl-js
目前没有这个设置,不过可以考虑添加一个
确实是个bug。 要关闭小数点级别,创建map时,options里把seamlessZoom设成false就行了