Skip to content

Commit

Permalink
mvt clear source and refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
dbauszus-glx committed Nov 16, 2023
1 parent 6bc6766 commit 23ec60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/layer/format/mvt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default layer => {

layer.reload = () => {

//layer.source.clear()
layer.source.clear()
layer.source.refresh()
layer.tilesLoaded = []
layer.featureSource.refresh()
Expand Down

0 comments on commit 23ec60b

Please sign in to comment.