Crude spherical photos
This commit is contained in:
26
webgis/js/icons.js
Normal file
26
webgis/js/icons.js
Normal 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;
|
||||
Reference in New Issue
Block a user