Skip to content

coordinate type is error,it should be Coordinate  #299

Description

@deyihu

If you report this error

you need

  
import * as maptalks from 'maptalks';
import * as THREE from 'three';
import { ThreeLayer } from 'maptalks.three';

instead of

//import * as maptalks from 'maptalks/dist/maptalks.js';
import * as maptalks from 'maptalks/dist/maptalks.min.js';
import * as THREE from 'three';
import { ThreeLayer } from 'maptalks.three';

Otherwise, the webpack will be packaged maptalks.es.js and maptalks.js/maptalks . min.js

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions