Crude spherical photos

This commit is contained in:
2024-11-24 12:26:44 +01:00
parent 2650df69a3
commit 760fb3e960
9 changed files with 193 additions and 70 deletions

26
webgis/js/icons.js Normal file
View File

@@ -0,0 +1,26 @@
// Global leaflet
/**
* @namespace Icons
*/
const Icons = {};
Icons.site = L.icon(
{
iconUrl: 'img/icons/siti.png',
iconSize: [24, 36],
iconAnchor: [12, 32],
tooltipAnchor: [0, -26],
}
);
Icons.notConserved = L.icon(
{
iconUrl: 'img/icons/non_conserv.png',
iconSize: [24, 36],
iconAnchor: [12, 32],
tooltipAnchor: [0, -26],
}
);
Icons.camera = L.divIcon({className: 'fa fa-2x fa-camera'});
export default Icons;