    {:keys [geofield owner tiles-url geojson] :as map-data}]
   (let [{:keys [layer-type layout style]} (geotype->marker-style geofield)
         {:keys [stops layer-opts show-hexbins? show-heatmap?]}
-        (om/get-state owner)
-        circle-border "point-casting"]
+        (om/get-state owner)]
     (when (or (-> geojson :features count pos?) tiles-url)
       (om/set-state! owner :loaded? false)
       (add-mapboxgl-source map id_string map-data)

                       :reset #js {:color "#f30"}}
          :hover #js {:color "#631400"}
          :clicked #js {:color "#ad2300"}}})

(defn marker->geotype
  "Returns geotype (:point :line or :shape) based on marker."

  "Show/or hide geopoints. Hide geopoints if hide-points is true."
  [map layer-id & [hide-points?]]
  (let [visibility (if hide-points? "none" "visible")]
    (when (.getLayer map layer-id)
      (.setLayoutProperty map layer-id "visibility" visibility))
    (when (.getLayer map circle-border-id)
      (.setLayoutProperty map circle-border-id "visibility" visibility))))

(defn remove-layer
  "Remove layer from map and it's source from map."
