import * as L from 'leaflet' ; /**
 * Tectonic Plates for leaflet map
 */ const TectonicPlatesOverlay = L . TileLayer . extend ( { bounds : null , enabled : true , id : 'tectonic-plates' , legends : [ ] , title : 'Tectonic Plates' , /**
     * Build leaflet overlay
     */ initialize : function ( ) { const legend = document . createElement ( 'img' ) ; legend . src = './assets/legend-tectonic-plates.png' ; legend . setAttribute ( 'alt' , 'Tectonic Plates Legend' ) ; this . legends . push ( legend ) ; L . TileLayer . prototype . initialize . call ( this , 'https://earthquake.usgs.gov/basemap/tiles/plates/{z}/{x}/{y}.png' , { attribution : '' , maxZoom : 16 } ) ; } } ) ; export { TectonicPlatesOverlay } ;