UNPKG

highcharts

Version:
46 lines (45 loc) 895 B
/* * * * (c) 2010-2026 Highsoft AS * Author: Torstein Hønsi * * A commercial license may be required depending on use. * See www.highcharts.com/license * * * */ 'use strict'; /* * * * Imports * * */ import BubblePoint from '../Bubble/BubblePoint.js'; import SeriesRegistry from '../../Core/Series/SeriesRegistry.js'; import { extend } from '../../Shared/Utilities.js'; const { seriesTypes: { map: { prototype: { pointClass: { prototype: mapPointProto } } } } } = SeriesRegistry; /* * * * Class * * */ class MapBubblePoint extends BubblePoint { /* * * * Functions * * */ isValid() { return typeof this.z === 'number'; } } extend(MapBubblePoint.prototype, { applyOptions: mapPointProto.applyOptions, getProjectedBounds: mapPointProto.getProjectedBounds }); /* * * * Default Export * * */ export default MapBubblePoint;