Skip to content

Commit

Permalink
Not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
toburger committed Nov 16, 2023
1 parent 8dca338 commit 7eb8e00
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/components/detailComponents/WeatherMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ SPDX-License-Identifier: AGPL-3.0-or-later
:zoom="zoom"
class="map"
ref="myMap"
@click="resizeMap"
>
<l-tile-layer
:url="url"
Expand Down Expand Up @@ -174,17 +173,6 @@ export default Vue.extend({

});
},
resizeMap() {
const mymap = (this.$refs?.myMap as LMap).mapObject;

console.log('refresh map');

//working
//mymap.setZoom(10);
mymap.invalidateSize();
//mymap.setView([40.7225, -74.0025], 14);
//mymap.setTimeout(function(){mymap.invalidateSize(true);},500);;
},
returnMarkerLatLng(marker: Measuringpoint)
{
return [marker.Latitude, marker.Longitude];
Expand Down

0 comments on commit 7eb8e00

Please sign in to comment.