     {:line-id 25})
   static om/IQuery
   (query [this]
-    '[:app/title :loading? :app/mapstate :app/lines
+    '[:app/title
+      :loading?
+      :app/mapstate
+      :app/lines
       (:app/stations {:line-id ?line-id})
-      ])
+      :app/station-info])
   Object
   (componentWillMount [this]
     (.log js/console "will-mount"))

         [:input {:ref "title"}]
         [:p title]
         [:p (str "zoom: " (:zoom mapstate init-zoom))]
         [:button {:on-click (fn [e]
                                (let [new-title (.-value (dom/node this "title"))]
                                  (om/transact! this `[(app/update-title {:new-title ~new-title})

      (let [[lng lat] geometry
            marker (leaflet/create-marker lat lng :radius 6 :fillColor "#0000ff" :fillOpacity 1.0 :weight 1)]
        (doto marker
          ;; (.bindPopup (str "<b>" line-name "</b><br>" station-name))
          (.on "click" (fn [e] (let [new-station-info (map->StationInfo {:id id
                                                                         :name station-name
                                                                         :line-info
                                                                         (list
                                                                          (map->StationLineInfo {:station-id id
                                                                                                 :line-id line-name
                                                                                                 :kilotei 10}))
                                                                         })]
                                 (om/transact! this `[(app/update-station-info {:new-station-info ~new-station-info})]))))
          (.on "mouseover" (fn [e] (.setStyle marker (clj->js {:fillColor "#ff0000"}))))
          (.on "mouseout" (fn [e] (.setStyle marker (clj->js {:fillColor "#0000ff"}))))
          (.addTo stations-layer))))))
