Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
pages [*] Updates README and examples to reflect change from geographyUrl t… Nov 22, 2017
static Added zooming and panning example Jul 23, 2017
README.md
package.json Updated examples dependencies Apr 25, 2018

README.md

Zooming and Panning

Example showing how to use setState to zoom and pan.

Live example

How to use

Download this example map or clone the repo:

curl https://codeload.github.com/zcreativelabs/react-simple-maps/tar.gz/master | tar -xz --strip=2 react-simple-maps-master/examples/zoom-pan
cd zoom-pan

Once you have downloaded the example install the dependencies and run the app.

npm install
npm run dev
You can’t perform that action at this time.