forked from MapComplete/MapComplete
		
	Chore: small linting issues and formatting
This commit is contained in:
		
							parent
							
								
									b606fa57a8
								
							
						
					
					
						commit
						6a9677fc78
					
				
					 4 changed files with 16 additions and 31 deletions
				
			
		|  | @ -1,17 +1,11 @@ | |||
| import { ImmutableStore, Store, UIEventSource } from "../../Logic/UIEventSource" | ||||
| import maplibregl, { | ||||
|     Map as MLMap, | ||||
|     Map as MlMap, | ||||
|     ScaleControl, | ||||
|     SourceSpecification, | ||||
| } from "maplibre-gl" | ||||
| import maplibregl, { Map as MLMap, Map as MlMap, ScaleControl } from "maplibre-gl" | ||||
| import { RasterLayerPolygon } from "../../Models/RasterLayers" | ||||
| import { Utils } from "../../Utils" | ||||
| import { BBox } from "../../Logic/BBox" | ||||
| import { ExportableMap, KeyNavigationEvent, MapProperties } from "../../Models/MapProperties" | ||||
| import SvelteUIElement from "../Base/SvelteUIElement" | ||||
| import MaplibreMap from "./MaplibreMap.svelte" | ||||
| import { RasterLayerProperties } from "../../Models/RasterLayerProperties" | ||||
| import * as htmltoimage from "html-to-image" | ||||
| import RasterLayerHandler from "./RasterLayerHandler" | ||||
| import Constants from "../../Models/Constants" | ||||
|  | @ -125,7 +119,6 @@ export class MapLibreAdaptor implements MapProperties, ExportableMap { | |||
|             nearestFeature?: Feature | ||||
|         }>(undefined) | ||||
|         this.lastClickLocation = lastClickLocation | ||||
|         const self = this | ||||
| 
 | ||||
|         new RasterLayerHandler(this._maplibreMap, this.rasterLayer) | ||||
| 
 | ||||
|  | @ -294,10 +287,6 @@ export class MapLibreAdaptor implements MapProperties, ExportableMap { | |||
|         } | ||||
|     } | ||||
| 
 | ||||
|     public static prepareWmsSource(layer: RasterLayerProperties): SourceSpecification { | ||||
|         return RasterLayerHandler.prepareSource(layer) | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * Prepares an ELI-URL to be compatible with mapbox | ||||
|      */ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue