Skip to content

ol is not defined #15714

Answered by ahocevar
zeMingGit asked this question in Q&A
Apr 9, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

If you want to use the ol.layer.Tile syntax, you need to use the legacy build, which you find in the package as well (./dist/ol.js).

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@zeMingGit
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zeMingGit
Comment options

Answer selected by zeMingGit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants