'use strict';

var extension = require('../../extension.js');
var MapView = require('./MapView.js');
var MapSeries = require('./MapSeries.js');
var mapDataStatistic = require('./mapDataStatistic.js');
var mapSymbolLayout = require('./mapSymbolLayout.js');
var dataSelectAction = require('../../legacy/dataSelectAction.js');
var install$1 = require('../../component/geo/install.js');

function install(registers) {
  extension.use(install$1.install);
  registers.registerChartView(MapView.default);
  registers.registerSeriesModel(MapSeries.default);
  registers.registerLayout(mapSymbolLayout.default);
  registers.registerProcessor(registers.PRIORITY.PROCESSOR.STATISTIC, mapDataStatistic.default);
  dataSelectAction.createLegacyDataSelectAction('map', registers.registerAction);
}

exports.install = install;
