1
0
mirror of https://gitlab.com/JKANetwork/CheckServer.git synced 2026-03-11 21:12:02 +01:00

Start again

This commit is contained in:
2020-10-04 17:14:00 +02:00
parent c0d3912413
commit 091f119048
4382 changed files with 1762543 additions and 9606 deletions

28
vendors/echarts/extension/bmap/bmap.js vendored Normal file
View File

@@ -0,0 +1,28 @@
/**
* BMap component extension
*/
define(function (require) {
require('echarts').registerCoordinateSystem(
'bmap', require('./BMapCoordSys')
);
require('./BMapModel');
require('./BMapView');
// Action
require('echarts').registerAction({
type: 'bmapRoam',
event: 'bmapRoam',
update: 'updateLayout'
}, function (payload, ecModel) {
ecModel.eachComponent('bmap', function (bMapModel) {
var bmap = bMapModel.getBMap();
var center = bmap.getCenter();
bMapModel.setCenterAndZoom([center.lng, center.lat], bmap.getZoom());
});
});
return {
version: '1.0.0'
};
});