Skip to content

Conversation

deyihu
Copy link
Collaborator

@deyihu deyihu commented Sep 18, 2025

fix maptalks/issues#882

        const layer = new maptalks.VectorTileLayer('layer',
            {
                loadTileErrorLog: true,
                loadTileErrorLogIgnoreCodes: [404, 204],
                urlTemplate: './suzhou_area/{z}/{x}/{y}.pbf'
            }
        )

@deyihu deyihu requested a review from fuzhenn September 18, 2025 02:12
@fuzhenn fuzhenn merged commit d8a0f06 into maptalks:master Sep 18, 2025
3 checks passed
@deyihu deyihu deleted the vt-loadTileErrorLog branch September 18, 2025 06:54
fuzhenn pushed a commit that referenced this pull request Sep 18, 2025
* VectorTileLayer add loadTileErrorLog for log loadTile error (#2641)

* VectorTileLayer add loadTileErrorLog for log loadTile error

* fix typing

* fix Path Edit   the new vertex position error when dragstart
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

Successfully merging this pull request may close these issues.

VectorTileLayer上增加是否在控制台报错的配置

2 participants