Skip to content

Commit

Permalink
download icons locally
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce committed Dec 1, 2023
1 parent beacc7a commit 8dd56cd
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
Binary file added electron/ui/public/img/donut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electron/ui/public/img/forbidden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electron/ui/public/img/open-diamond.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electron/ui/public/img/placemark_circle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electron/ui/public/img/polygon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electron/ui/public/img/target.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added electron/ui/public/img/triangle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions electron/ui/src/assets/custom-icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export let blackIcon = new Icon({
});

export let treatmentIcon = new Icon({
iconUrl: 'https://maps.google.com/mapfiles/kml/shapes/target.png',
iconUrl: 'img/target.png',
shadowUrl: 'img/marker-shadow.png',
iconSize: [41, 41],
iconAnchor: [20.5, 20.5],
Expand All @@ -91,7 +91,7 @@ export let treatmentIcon = new Icon({
});

export let disposalIcon = new Icon({
iconUrl: 'https://maps.google.com/mapfiles/kml/shapes/triangle.png',
iconUrl: 'img/triangle.png',
shadowUrl: 'img/marker-shadow.png',
iconSize: [41, 41],
iconAnchor: [20.5, 20.5],
Expand All @@ -100,7 +100,7 @@ export let disposalIcon = new Icon({
});

export let completionPadIcon = new Icon({
iconUrl: 'https://maps.google.com/mapfiles/kml/shapes/forbidden.png',
iconUrl: 'img/forbidden.png',
shadowUrl: 'img/marker-shadow.png',
iconSize: [41, 41],
iconAnchor: [20.5, 20.5],
Expand All @@ -109,7 +109,7 @@ export let completionPadIcon = new Icon({
});

export let productionPadIcon = new Icon({
iconUrl: 'https://maps.google.com/mapfiles/kml/shapes/donut.png',
iconUrl: 'img/donut.png',
shadowUrl: 'img/marker-shadow.png',
iconSize: [41, 41],
iconAnchor: [20.5, 20.5],
Expand All @@ -118,15 +118,15 @@ export let productionPadIcon = new Icon({
});

export let networkNodeIcon = new Icon({
iconUrl: 'https://maps.google.com/mapfiles/kml/shapes/placemark_circle.png',
iconUrl: 'img/placemark_circle.png',
iconSize: [30, 30],
iconAnchor: [15, 15],
popupAnchor: [1, -34],
shadowSize: [30, 30]
});

export let storageSiteIcon = new Icon({
iconUrl: 'https://maps.google.com/mapfiles/kml/shapes/polygon.png',
iconUrl: 'img/polygon.png',
shadowUrl: 'img/marker-shadow.png',
iconSize: [41, 41],
iconAnchor: [20.5, 20.5],
Expand All @@ -135,7 +135,7 @@ export let storageSiteIcon = new Icon({
});

export let reuseOptionIcon = new Icon({
iconUrl: 'https://maps.google.com/mapfiles/kml/shapes/open-diamond.png',
iconUrl: 'img/open-diamond.png',
shadowUrl: 'img/marker-shadow.png',
iconSize: [41, 41],
iconAnchor: [20.5, 20.5],
Expand Down

0 comments on commit 8dd56cd

Please sign in to comment.