Skip to content

Commit

Permalink
v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLeCam committed Nov 12, 2015
1 parent bb815c7 commit eab3351
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 14 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## v0.9.0 (12/11/15)

- Removed `PopupContainer` component, extended internally by other components.
- `FeatureGroup` now expects its layers to be passed as children, like `LayerGroup`.
- Added `renderChildrenWithProps()` to `MapLayer`, used internally by the library.
- Added `MapControl` as base component for controls.
- Added `ZoomControl`.

## v0.8.1 (21/10/15)

Fix `PropTypes` export.
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ This library uses React components as an interface, but not the virtual DOM, as

### Helpers

**setIconDefaultImagePath(path: string)**: Setter for `Leaflet.Icon.Default.imagePath`, set to `//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.5/images` by default.
**setIconDefaultImagePath(path: string)**: Setter for `Leaflet.Icon.Default.imagePath`, set to `//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images` by default.

### PropTypes

Expand Down Expand Up @@ -112,7 +112,10 @@ It exposes a `getLeafletElement()` method to access the `Leaflet` object created

##### MapLayer

Base class extending `MapComponent` using the provided `map` prop to add its element and passing it down to its children.
Base class extending `MapComponent` using the provided `map` prop to add its element and passing it down to its children.
It exposes the following methods:
- `getClonedChildrenWithMap(object extra): object`: returns the cloned children of the component, adding the `map` and the `extra` props provided to them.
- `renderChildrenWithProps(object props): object`: returns the cloned children of the component using `getClonedChildrenWithMap()`, wrapped in a `<div>` with `display: none` style.

##### BaseTileLayer

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-leaflet",
"version": "0.8.1",
"version": "0.9.0",
"homepage": "https://github.com/PaulLeCam/react-leaflet",
"authors": [
"Paul Le Cam <[email protected]>"
Expand Down
6 changes: 3 additions & 3 deletions dist/react-leaflet.min.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-leaflet",
"version": "0.8.1",
"version": "0.9.0",
"description": "React components for Leaflet maps",
"main": "lib/index.js",
"scripts": {
Expand Down Expand Up @@ -46,19 +46,19 @@
"devDependencies": {
"babel": "^5.8.29",
"babel-core": "^5.8.33",
"babel-eslint": "^4.1.3",
"babel-eslint": "^4.1.5",
"babel-jest": "^5.3.0",
"babel-loader": "^5.3.2",
"babel-plugin-react-transform": "^1.1.1",
"eslint": "^1.7.3",
"eslint-plugin-react": "^3.6.3",
"jest-cli": "^0.6.1",
"eslint": "^1.9.0",
"eslint-plugin-react": "^3.8.0",
"jest-cli": "^0.7.1",
"leaflet": "^0.7.7",
"onchange": "^2.0.0",
"react": "^0.14.1",
"react-dom": "^0.14.1",
"react": "^0.14.2",
"react-dom": "^0.14.2",
"react-transform-hmr": "^1.0.1",
"webpack": "^1.12.2",
"webpack": "^1.12.4",
"webpack-dev-server": "^1.12.1"
},
"jest": {
Expand Down

0 comments on commit eab3351

Please sign in to comment.