             , 1000
         )
     )
-    @map.on('move', @onMapChange)
+    @map.on('moveend dragend resize', @onMapChange)
     @addButtonListeners()
     # rest should be implemented in the inspector instance
 

      @miniMap.addLayer @minifog

  onMapChange: (e) =>
    # move flags
    for flag, contents of @flags
      latlng = contents.circle.getLatLng()

        # things are slightly different for editable polygon drawing
        @makeEditablePolygon()
      # center on the polygon
      bounds = @geo.getBounds()
      # console.log "bounds:", @map.getBounds().getSouthWest()
      # console.log "bounds:", @map.getBounds().getNorthEast()
      # console.log "new:", bounds.getSouthWest()
      # console.log "new:", bounds.getNorthEast()
      # console.log "contains:", @map.getBounds().contains(bounds)
      @map.fitBounds( bounds )
      # @map.setZoom( @map.getZoom()-1 ) if @options.tutorialOn
      @resetButtons()
