Places: Code clean-up

This commit is contained in:
Michael Mayer 2021-11-27 10:03:12 +01:00
parent f8d64daf00
commit fdfe9771ca

View file

@ -24,7 +24,6 @@
</template>
<script>
import {Photo, TypeLive, TypeVideo} from "model/photo";
import mapboxgl from "mapbox-gl";
import Api from "common/api";
import Thumb from "model/thumb";
@ -42,7 +41,6 @@ export default {
attribution: '<a href="https://www.maptiler.com/copyright/" target="_blank">&copy; MapTiler</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">&copy; OpenStreetMap contributors</a>',
options: {},
mapFont: [],
photos: [],
result: {},
filter: {q: this.query()},
lastFilter: {},
@ -270,7 +268,6 @@ export default {
return;
}
this.photos = {};
this.result = response.data;
this.map.getSource("photos").setData(this.result);