Skip to content

包体积太大了 #578

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,我整个项目都没这么大

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

    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