ghettovoice / vuelayers

Web map Vue components with the power of OpenLayers
https://vuelayers.github.io/
MIT License
683 stars 229 forks source link

When using vl-geom-line-string or vl-geom-multi-line-string the map tiles arent loaded correcty anymore. #521

Closed basbroens closed 1 year ago

basbroens commented 2 years ago

When using vl-geom-line-string or vl-geom-multi-line-string the map tiles arent loaded correcty anymore.

Is there a way to fix this?

my code:

` <vl-map ref="map" :update-while-animating="true" :update-while-interacting="true" :max-tiles-loading="100" :default-interactions="{doubleClickZoom:false}" @dblclick="newMarkerOpen($event)" data-projection="EPSG:4326">

                    <vl-view :zoom.sync="mapZoom" :center.sync="mapCenter"></vl-view>
                    <vl-layer-tile  id="osm">
                        <vl-source-osm></vl-source-osm>
                    </vl-layer-tile>

                        <vl-feature v-if="item.history && item.history.length" v-for="(item,key) in history">
                            <vl-geom-multi-line-string :id="'line'+key"  :coordinates="item.history" />
                            <vl-style>
                                <vl-style-stroke line-join="bevel" :line-dash="[10, 10]" :width="4" :color="getColor(item.name)" />
                            </vl-style>
                        </vl-feature>

`

Capture

ghettovoice commented 2 years ago

Hello @basbroens , which version of vuelayers do you use? With v0.12 I don't see any problems using line string geometries. Do you sure it is not some network problems?

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.