Skip to content

Commit

Permalink
tile layer issues
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Feb 7, 2024
1 parent b05ae40 commit 71c475a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { memo, useEffect, useRef, useState } from "react";
import EmptyImage from "../../../../src/style/images/empty-image.gif";
import EmptyImage from "../../public/empty-image.gif";
import useIntersection from "../../../hooks/use-intersection-observer";
import useLocation from "../../../hooks/use-location/use-location";
import { ImageFormat } from "../../../interfaces/IFileIndexItem";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import L, { Coords, GridLayer } from "leaflet";
import EmptyImage from "../style/images/empty-image.gif";
import EmptyImage from "../../public/empty-image.gif";

// use the: IMAGE_INLINE_SIZE_LIMIT=1 due the fact that data: are not supported by the CSP

export class LeafletEmptyImageUrlGridLayer extends GridLayer {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import L, { TileLayer } from "leaflet";
import EmptyImage from "../style/images/empty-image.gif";
import EmptyImage from "../../public/empty-image.gif";

export class LeafletEmptyImageUrlTileLayer extends TileLayer {
/**
Expand Down
12 changes: 12 additions & 0 deletions starsky/starsky/starsky.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Remove="generic-site\**"/>
<Content Update="wwwroot\baseline-searcher-detective-263238__192px.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\baseline-searcher-detective-263238__512px.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\favicon.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="wwwroot\manifest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.json">
Expand Down

0 comments on commit 71c475a

Please sign in to comment.