Skip to content

Commit

Permalink
do not import OL css in code (that was a bad idea)
Browse files Browse the repository at this point in the history
Doing this will break many customers of the lib down the line
  • Loading branch information
jahow committed Oct 24, 2024
1 parent 906e8d4 commit a5dfb83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/examples/src/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'ol/ol.css';

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down
1 change: 0 additions & 1 deletion packages/openlayers/lib/map/create-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
WmtsEndpoint,
} from "@camptocamp/ogc-client";
import { MapboxVectorLayer } from "ol-mapbox-style";
import "ol/ol.css";

const GEOJSON = new GeoJSON();
const WFS_MAX_FEATURES = 10000;
Expand Down

0 comments on commit a5dfb83

Please sign in to comment.