Skip to content

Commit c56a97e

Browse files
committed
upgrade to latest openlayers version
1 parent 9c7ebd0 commit c56a97e

File tree

4 files changed

+16
-42
lines changed

4 files changed

+16
-42
lines changed

package-lock.json

Lines changed: 12 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"custom-model-editor": "github:graphhopper/custom-model-editor#5ebd80570329f7abfc95c39624be1f1a379cf392",
1919
"geojson": "^0.5.0",
2020
"heightgraph": "github:easbar/Leaflet.Heightgraph#5f4f0b1fff3646aa071981381f5955c9e6f111f0",
21-
"ol": "10.4.0",
22-
"ol-mapbox-style": "12.5.0",
21+
"ol": "10.5.0",
22+
"ol-mapbox-style": "12.6.0",
2323
"react": "^18.3.1",
2424
"react-dom": "^18.3.1",
2525
"react-responsive": "^10.0.1"

src/layers/UseExternalMVTLayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function useExternalMVTLayer(map: Map, externalMVTLayerEnabled: b
5050
},
5151
})
5252

53-
const onHover = (e: MapBrowserEvent<UIEvent>) => {
53+
const onHover = (e: MapBrowserEvent) => {
5454
selectionSource.clear()
5555
const features = map.getFeaturesAtPixel(e.pixel, {
5656
layerFilter: l => l === externalMVTLayer,

src/layers/UseRoutingGraphLayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function useRoutingGraphLayer(map: Map, routingGraphEnabled: bool
3232
zIndex: 0.6,
3333
})
3434

35-
const onHover = (e: MapBrowserEvent<UIEvent>) => {
35+
const onHover = (e: MapBrowserEvent) => {
3636
const features = map.getFeaturesAtPixel(e.pixel, {
3737
layerFilter: l => l === routingGraphLayer,
3838
hitTolerance: 5,

0 commit comments

Comments
 (0)