Skip to content

import issue with source.js #1

@mForcella

Description

@mForcella

While attempting to replicate the shape drawing example here:

https://openlayers.org/en/latest/examples/draw-shapes.html

This import statement:

import {OSM, Vector as VectorSource} from 'https://cdn.skypack.dev/ol/source.js';

throws the following error:

GeoTIFF.js:4 Uncaught SyntaxError: The requested module '/-/[email protected]/dist=es2019,mode=imports/optimized/geotiff.js' does not provide an export named 'Pool' (at GeoTIFF.js:4:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions