PHP Classes

File: vendors/gentelella/vendors/echarts/extension/bmap/bmap.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/echarts/extension/bmap/bmap.js   Download  
File: vendors/gentelella/vendors/echarts/extension/bmap/bmap.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 693 bytes
 

Contents

Class file image Download
/** * 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' }; });