Merge e_bike + gps into develop #7
@@ -243,7 +243,7 @@ export function Ebike({ position }: EbikeProps): React.JSX.Element {
|
||||
height={0.8}
|
||||
startPos={gpsStartPos}
|
||||
destPos={destPos}
|
||||
mapImageUrl="/map_background.png"
|
||||
mapImageUrl="/assets/gps/map_background.png"
|
||||
worldBounds={{
|
||||
minX: -166,
|
||||
maxX: 163,
|
||||
|
||||
@@ -101,7 +101,7 @@ function CameraManager({
|
||||
const dataUrl = gl.domElement.toDataURL("image/png");
|
||||
const a = document.createElement("a");
|
||||
a.href = dataUrl;
|
||||
a.download = "map_background.png";
|
||||
a.download = "/assets/gps/map_background.png";
|
||||
a.click();
|
||||
};
|
||||
return () => { delete (window as any).downloadMapScreenshot; };
|
||||
|
||||
@@ -101,7 +101,6 @@ export function World({ onLoadingStateChange }: WorldProps): React.JSX.Element {
|
||||
</>
|
||||
) : (
|
||||
<TestMap onOctreeReady={handleOctreeReady} />
|
||||
<NetTest />
|
||||
)}
|
||||
|
||||
{sceneMode !== "game" && spawnPlayer ? (
|
||||
|
||||
@@ -259,7 +259,7 @@ export function TestMap({ onOctreeReady }: TestMapProps): React.JSX.Element {
|
||||
height={4}
|
||||
startPos={{ x: 10, y: 0, z: -10 }}
|
||||
destPos={{ x: -40, y: 0, z: 30 }}
|
||||
mapImageUrl="/map_background.png"
|
||||
mapImageUrl="/assets/gps/map_background.png"
|
||||
worldBounds={{
|
||||
"minX": -166,
|
||||
"maxX": 163,
|
||||
|
||||
Reference in New Issue
Block a user