Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

BasicRenderer刷新问题 #23

@Wanghongrong

Description

@Wanghongrong

你好!在如下的应用场景中,我需要对基于该插件的矢量图层渲染进行更新:
1、选中后,对选中的矢量图片进行高亮显示;
2、基于对style的表达式,在完成加载后,根据上下文环境更改style,并同步刷新矢量图层的样式。
但是,基于该插件所依赖的 Mapbox-vector-tiles-basic-js-renderer ,我无法使用 renderer.drawLayers(canvas, layers);renderer.render(); renderer.updateStyle(currentStyle); 等方法刷新图层渲染。
我需要怎样才能根据显示样式的变化重新渲染图层样式?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions