Skip to content

Commit

Permalink
fix the addon example (#296)
Browse files Browse the repository at this point in the history
* fix the addon example

* update the changelog
  • Loading branch information
mmomtchev authored Sep 24, 2024
1 parent c27bbfb commit a3b66a6
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fixed `package-lock.json`
- OpenLayers 10.2.0 support
- Fix [#276](https://github.com/mmomtchev/rlayers/issues/276), extending `rlayers` example needs `ol-mapbox-style`

## [3.1.0] 2024-07-27

Expand Down
2 changes: 1 addition & 1 deletion examples/Addon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import React from 'react';
import {fromLonLat} from 'ol/proj';
import {MapboxVector as VectorMapbox} from 'ol/layer';
import {MapboxVectorLayer as VectorMapbox} from 'ol-mapbox-style';

import {RMap, RLayer, RLayerProps, RContextType} from 'rlayers';

Expand Down
125 changes: 119 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
"markdown-loader": "^8.0.0",
"null-loader": "^4.0.1",
"ol": "^10.2.0",
"ol-mapbox-style": "^12.3.5",
"ol-mbtiles": "^3.1.0",
"prettier": "2.8.8",
"prism-themes": "^1.6.0",
Expand Down

0 comments on commit a3b66a6

Please sign in to comment.