diff --git a/src/style/style.ts b/src/style/style.ts index ceb31bcdf1..63cd9e2a12 100644 --- a/src/style/style.ts +++ b/src/style/style.ts @@ -65,8 +65,6 @@ import { } from '../util/actor_messages'; import {Projection} from '../geo/projection/projection'; - - import {createProjectionFromName} from '../geo/projection/projection_factory'; const empty = emptyStyle() as StyleSpecification; @@ -1544,8 +1542,6 @@ export class Style extends Evented { } setProjection(projection: ProjectionSpecification) { - - this._checkLoaded(); if (this.projection) { if (this.projection.name === projection.type) return;