Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgl-vector-source cleared after changing style #60

Open
zcrwf opened this issue Aug 13, 2024 · 3 comments
Open

mgl-vector-source cleared after changing style #60

zcrwf opened this issue Aug 13, 2024 · 3 comments

Comments

@zcrwf
Copy link

zcrwf commented Aug 13, 2024

mgl-vector-source cleared after changing style

<mgl-map ref="mapRef" :map-style="style" :trackResize=true :center="center" :zoom="zoom" height="100vh"
    :attributionControl=false>
    <mgl-vector-source source-id="zcrwf" :url="dataUrl">
      <mgl-circle-layer layer-id="my" source-layer="cd_location" :paint="paint" :filter="filter" />
      <mgl-symbol-layer layer-id="my_label" source-layer="cd_location" :layout="layout"
        :filter="filter"></mgl-symbol-layer>
    </mgl-vector-source>
</mgl-map>
@francois2metz
Copy link
Member

Hi,

Thanks for reporting this issue. I was able to reproduce the issue.

@PhungVanHoa
Copy link

PhungVanHoa commented Sep 22, 2024

any news on this?

@francois2metz
Copy link
Member

Hi,

This is a maplibre-gl-js bug, see maplibre/maplibre-gl-js#2587. I didn't have the time to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants