         $placeholder = $(element).find('.placeholder-image')
         $placeholder.remove() if $placeholder
         if newVal != oldVal # to prevent init redraw
+          removeExistingMap()
           renderDataMap(scope, newVal, scope.data)
           stopProgressBar()
       )

    svg.attr('height', ratio * svgHeight)


  renderDataMap = (scope, map, data) ->
    path = d3.geo.path().projection(scope.projection || defaults.projection)


        .data(map.features)
    mapPaths.enter().append('path')
      .attr('d', path)

    bounds =  path.bounds(map)
    resizeMap(bounds)
