Skip to content

Cannot display a polygon on OpenLayers map #15726

Answered by ahocevar
nmcdtu asked this question in Q&A
Discussion options

You must be logged in to vote

You should not be converting the coordinates to EPSG:4326. The Vector source expects them in EPSG:3857 (or whatever your map view's projection is).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nmcdtu
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