Changing the icon used for thecurrent location.

This commit is contained in:
Eric van der Vlist 2022-10-02 19:09:03 +02:00
parent 269f35a0a5
commit 9c004c8021
2 changed files with 7 additions and 4 deletions

View File

@ -20,9 +20,12 @@ const CurrentLocation: React.FC<{}> = () => {
<circle <circle
cx={CurrentLocationState.whiteboard.x} cx={CurrentLocationState.whiteboard.x}
cy={CurrentLocationState.whiteboard.y} cy={CurrentLocationState.whiteboard.y}
r={10 / scale} r={6 / scale}
fill='green' fill='blue'
opacity='50%' opacity='90%'
stroke='white'
strokeWidth={3/scale}
strokeOpacity='100%'
></circle> ></circle>
); );
}; };

View File

@ -9,7 +9,7 @@ import Slippy from '../slippy/slippy';
import TiledMap from './tiled-map'; import TiledMap from './tiled-map';
import GetLocation from './get-location'; import GetLocation from './get-location';
import Whiteboard from './whiteboard'; import Whiteboard from './whiteboard';
import CurrentLocation from './current-location'; import CurrentLocation from './CurrentLocation';
import { import {
IonApp, IonApp,
IonButtons, IonButtons,