 module.exports = class MapControl
 	constructor: ->
+
     @markerDict = {}
     @map = L.map('map',
         scrollWheelZoom: false


      reset()

  focusOnSchoolName: (name)->
    $('html, body').animate({
      scrollTop: $("#map").offset().top

        detectRetina: true
    ))

    @initBoundaries()
    @initMarkers()

  initBoundaries: ->

    svg = d3.select(@map.getPanes().overlayPane).append("svg")
    g = svg.append("g").attr("class", "leaflet-zoom-hide")

    d3.json "data/school_boundaries.topo.json", (collection)=> 
    
