 # to influence which URLs the application uses to look for things.
 unless NMIS.settings
   NMIS.settings =
-    openLayersRoot: "./openlayers/"
     leafletRoot: "./leaflet/"
     pathToMapIcons: "./images"
 

  #    

  NMIS.settings =
    openLayersRoot: "/static/openlayers/"
    leafletRoot: "/static/leaflet/"
    pathToMapIcons: "/static/images"


        document.body.appendChild s
      googleMapsDfd.promise()

  NMIS.loadLeaflet = (url)->
    url = "#{NMIS.settings.leafletRoot}leaflet.js" if !url and NMIS.settings.leafletRoot
    $.ajax url: url, dataType: "script", cache: false

  NMIS.loadGmapsAndLeaflet = do ->
    launchDfd = $.Deferred()
