             '<input type="hidden" class="placemarker-form-id" value="goto">' +
             '<button type="submit" class="placemarker-form-submit">' +
             '@</button></div></form>')
-      marker.setLatLng new (L.LatLng)(position.lat, position.lng), draggable: 'true'
+      marker.setLatLng new L.LatLng(position.lat, position.lng), draggable: 'true'
       # coffeelint: enable=max_line_length
       marker.bindPopup(popupContent).openPopup()
-      map.panTo new (L.LatLng)(position.lat, position.lng)
+      map.panTo new L.LatLng(position.lat, position.lng)
     return
     map.addLayer marker
     return

.openPopup map


L.Icon.Default.imagePath = '/styles/images'

redIcon = L.icon(
    iconUrl: '/styles/images/marker2-icon.png'

React = require 'react'
{div, p, a, button, span, input, label, h1} = React.DOM
L = require 'leaflet'
L.Icon.Default.imagePath = '/styles/images'
# {homegeojsonDir} = '/cozymap-leaflet/leaflet.homegeojson.js'
# onMapClick = '/cozymap-leaflet/PeaceMarker.js'

