mirror of https://gitee.com/antv-l7/antv-l7
Feat map (#1521)
* fix: 多地图模式 * fix: getcustomdata 数据为空 * fix: map 支持 threejs 图层 * fix: lint error * chore: add vercel-build * chore: add vercel.json * chore: add vercel.json * fix: 地图高亮
This commit is contained in:
parent
50b6c2c227
commit
eb35dd676b
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,2 @@
|
|||
### polygon
|
||||
<code src="./demos/select.tsx"></code>
|
|
@ -1289,6 +1289,7 @@ export default class BaseLayer<ChildLayerStyleOptions = {}>
|
|||
}
|
||||
|
||||
public needPick(type: string): boolean {
|
||||
|
||||
const { enableHighlight = true, enableSelect = true } =
|
||||
this.getLayerConfig();
|
||||
// 判断layer是否监听事件;
|
||||
|
|
|
@ -117,7 +117,7 @@ export default class PixelPickingPlugin implements ILayerPlugin {
|
|||
model.addUniforms({
|
||||
u_PickingStage: PickingStage.HIGHLIGHT,
|
||||
u_PickingColor: pickedColor,
|
||||
// u_HighlightColor: highlightColorInArray.map((c) => c * 255),
|
||||
u_HighlightColor: highlightColorInArray.map((c) => c * 255),
|
||||
u_activeMix: selectMix,
|
||||
u_CurrentSelectedId: pickedColor,
|
||||
u_SelectColor: highlightColorInArray.map((c) => c * 255),
|
||||
|
|
Loading…
Reference in New Issue