zhouyupeng

Results 13 comments of zhouyupeng

The way you are using in your snippet is the correct way, I think. > But complex objects should not be used as dependencies as they cause trouble in React!...

you mean changing the coords of LineString while "modifystart" triggered and "modifyed" have not be triggrred? threre's a way to change the coordinates directly by `feature.getGeometry().setCoordinates([...])` by clicking without a...

所以视频里是线和点是LineString和circle组合出来的,modify只针对单个geometry。 你需要变更完点点位置重画LineString

Or maybe you should just use linstring applying circle style in every coordinate. That should work

mabye you can try deck.gl

[getURLFromTemplate](https://github.com/antvis/L7/blob/22866677da7544c79660006531a972b9ef35f33a/packages/utils/src/tileset-manager/utils/tile-url.ts#L44) 支持传入自定义转换函数,入参有`bounds` ,自己转一下就行了 ``` scene.on('loaded', () => { const layer = new RasterLayer() .source(url, { parser: { type: 'rasterTile', tileSize: 256, zoomOffset: 0, getURLFromTemplate: (url, { bounds }) => {...

https://github.com/antvis/L7/issues/2651#issuecomment-3512923951

位置: 就可以。 层级:infowindow 在高德管理的 dom 内,infowindow 的层级本身应该是高于 marker 的。如果你本身在高德 container 外部盖了一层(必定高于高德 container),智能自己用 map.coordToContainer(coord) 换相对坐标,自己做一层 overlay