Skip to content

包体积太大了 #578

@M76chao

Description

@M76chao
import Map from "ol/Map";
import View from "ol/View";
import TileLayer from "ol/layer/Tile";
import VectorLayer from "ol/layer/Vector";
import VectorSource from "ol/source/Vector";
import Cluster from "ol/source/Cluster";
import GeoJSON from "ol/format/GeoJSON";
import Feature from "ol/Feature";
import Polygon from "ol/geom/Polygon";
import Point from "ol/geom/Point";
import { Style, Stroke, Fill, Text, Icon, Circle } from "ol/style";
import "ol/ol.css";
import { TileSuperMapRest } from "@supermapgis/iclient-ol"; // 7M

我为了使用TileSuperMapRest 这一个方法就需要引入全量包,整整7M,我整个项目都没这么大

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions