Skip to content

Beginner questions: squashed map, drawing circles, displaying circles #39

Answered by MelihAltintas
bpolaszek asked this question in Q&A
Discussion options

You must be logged in to vote
  1. You are using openstreetmap tile server. Default projection of this tile server EPSG:3857 and you decided to use 4326 because of this our library makes reprojection and transforms EPSG:3857 to EPSG:4326. ol-source-osm has reprojectionErrorThreshold prop. This prop means Default: 0.5 Maximum allowed reprojection error (in pixels). Higher values can increase reprojection performance but decrease precision. So you can increase the reprojectionErrorThreshold value for precision.

        <ol-source-vector ref="cities" url="https://raw.githubusercontent.com/alpers/Turkey-Maps-GeoJSON/master/tr-cities-airports.json" :format="geoJson" :projection="projection">

            <ol-interaction-mo…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@bpolaszek
Comment options

@MelihAltintas
Comment options

@bpolaszek
Comment options

Answer selected by bpolaszek
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #37 on October 26, 2021 11:36.