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