3 Commits

Author SHA1 Message Date
Ib Green
190dc3d575 Remove mapbox Point dependency from map-interactions. (#161)
* Remove mapbox Point dependency from map-interactions. Update eslint settings. Use static for propTypes.

* Update examples

* Address review feedback. Update propTypes in example layers.
2016-12-20 14:07:29 -08:00
Thomas Forrer
e9bcc7a0d5 add onClick prop handler
adds a property `onClick` that allows adding a handler
to be called with the coordinates when the map is clicked.

refs #49
2016-10-21 23:07:16 -07:00
Thomas Forrer
12033a1755 add example to demonstrate click events 2016-10-21 22:05:24 -07:00