centerOnCountry(layer, map) {
    setTimeout(function() {
      map.fitBounds(layer.getBounds(), {maxZoom: 5})
    }, 0)

    // layer.setStyle({ color: 'black' })
  }
/**
   * Center the given country on the map
   */
Center the given country on the map
Center the given country on the map
centerOnCountry(layer, map) {
    setTimeout(function() {
      map.fitBounds(layer.getBounds(), {maxZoom: 5})
    }, 0)
  }
centerOnCountry ( layer , map ) { setTimeout ( function ( ) { map . fitBounds ( layer . getBounds ( ) , { maxZoom : 5 } ) } , 0 ) }
Center the given country on the map
Center the given country on the map
// layer.setStyle({ color: 'black' })