Skip to content

Commit

Permalink
fix: add ol.css to fix event handling for new OL release
Browse files Browse the repository at this point in the history
  • Loading branch information
friedjoff committed Mar 6, 2020
1 parent e0ba6d0 commit 1a00f7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Map.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

.map :global(.ol-zoom) {
position: absolute;
background: none;
}

.map :global(.ol-rotate) {
Expand Down
1 change: 1 addition & 0 deletions src/spatial/components/Map.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'ol/ol.css';
import { getUid } from 'ol';
import OLMap from 'ol/Map';
import PropTypes from 'prop-types';
Expand Down

0 comments on commit 1a00f7f

Please sign in to comment.