 # This file contains all the MapRoulette client/javascript code
 ###
 root = exports ? this
+
+# Map variables
+map = undefined
+geojsonLayer = null
+tileLayer = null
 
 # Challenge related attributes
 tileUrl = "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"

  ###
  $("#msgBox").fadeOut()

msg = (html, timeout = null) ->
  ###
  # Display a msg (html) in the msgbox. Must be closed with msgClose()
  ###
  clearTimeout timeout
  $("#msgBox").html(html).fadeIn()
  $("#msgBox").css "display", "block"


totalFixed = 0
pageStartTime = null

# Static strings
msgMovingOnToTheNextChallenge = 'OK, moving right along...'
msgZoomInForEdit = """Please zoom in a little so we don't have to load a huge area from the API."""
mr_attrib = """
<small>
  <p>
    thing by <a href='mailto:m@rtijn.org'>Martijn van Exel and Serge Wroclawski</a>
  <p>
</small>"""


setDelay = (seconds, func) ->
  ###
