Skip to content

Commit

Permalink
Point to Leaflet quick start guide in getting started section
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLeCam committed Sep 28, 2015
1 parent 3da109b commit 4999c67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ npm install leaflet react react-dom react-leaflet

## Getting started

If you are not familiar with Leaflet, make sure you read its [quick start guide](http://leafletjs.com/examples/quick-start.html) first. You will need to add its CSS to your page to render the components properly.

All components are React wrappers for Leaflet elements and layers, they need a map instance and therefore must be included in a top-level `<Map>` component.

**Leaflet example**
Expand Down Expand Up @@ -70,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.3/images` by default.
**setIconDefaultImagePath(path: string)**: Setter for `Leaflet.Icon.Default.imagePath`, set to `//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.5/images` by default.

### PropTypes

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@
"babel": "^5.8.23",
"babel-eslint": "^4.1.3",
"babelify": "^6.3.0",
"browserify": "^11.0.1",
"eslint": "^1.5.0",
"browserify": "^11.2.0",
"eslint": "^1.5.1",
"eslint-plugin-react": "^3.4.2",
"gulp": "^3.9.0",
"gulp-load-plugins": "^0.10.0",
"gulp-util": "^3.0.6",
"gulp-webserver": "^0.9.1",
"jest-cli": "^0.5.7",
"jest-cli": "^0.5.8",
"leaflet": "^0.7.5",
"onchange": "^2.0.0",
"react": "^0.14.0-rc1",
Expand Down

0 comments on commit 4999c67

Please sign in to comment.