Updated README and docs

This commit is contained in:
Simon Brooke 2020-01-29 11:45:31 +00:00
parent e06b68bd34
commit b25a71c4b4
3 changed files with 22 additions and 33 deletions

View file

@ -70,13 +70,6 @@
:maxZoom 18}))
view)
(dispatch-sync [:set-view view])
;; (.on view "moveend"
;; (fn [_] (let [c (.getCenter view)]
;; (js/console.log (str "Moving centre to " c))
;; (dispatch-sync [:set-latitude (.-lat c)])
;; (dispatch-sync [:set-longitude (.-lng c)])
;; (dispatch [:fetch-data]))))
;; (refresh-map-pins)
view))
(defn map-did-mount