Addind a few @ts-ignore :( ...
This commit is contained in:
1 parent
0f9b66b0d4
commit
d0bc9422f3
2 files changed
+3
-12
No files matched your search
@@ -17,7 +17,7 @@ import 'ol/ol.css';
|
||||
import './Map.css';
|
||||
import { Collection } from 'ol';
|
||||
import { Point } from 'ol/geom';
|
||||
import { Circle, Fill, Stroke, Style, Icon } from 'ol/style';
|
||||
import { Style, Icon } from 'ol/style';
|
||||
import GetLocation, { getCurrentLocation } from '../get-location';
|
||||
import ShowLocationIcon from '../get-location/ShowLocationIcon.svg';
|
||||
import { Back, Forward } from '../back-forward';
|
||||
@@ -177,8 +177,8 @@ const Map: Component = () => {
|
||||
setMap(olMap);
|
||||
});
|
||||
|
||||
// @ts-ignore
|
||||
return (
|
||||
// @ts-ignore
|
||||
<div class='ol-map' ref={target}>
|
||||
<GetLocation />
|
||||
<Forward />
|
||||
|
||||
Reference in new issue
Block a user