example/public/ueditor/third-party/highcharts/modules/map.src.js
function (paths) {
			var maxX = Number.MIN_VALUE, 
				minX =  Number.MAX_VALUE, 
				maxY = Number.MIN_VALUE, 
				minY =  Number.MAX_VALUE;
			
			
			// Find the bounding box
			each(paths || this.options.data, function (point) {
				var path = point.path,
					i = path.length,
					even = false, // while loop reads from the end
					pointMaxX = Number.MIN_VALUE, 
					pointMinX =  Number.MAX_VALUE, 
					pointMaxY = Number.MIN_VALUE, 
					pointMinY =  Number.MAX_VALUE;
					
				while (i--) {
					if (typeof path[i] === 'number' && !isNaN(path[i])) {
						if (even) { // even = x
							pointMaxX = Math.max(pointMaxX, path[i]);
							pointMinX = Math.min(pointMinX, path[i]);
						} else { // odd = Y
							pointMaxY = Math.max(pointMaxY, path[i]);
							pointMinY = Math.min(pointMinY, path[i]);
						}
						even = !even;
					}
				}
				// Cache point bounding box for use to position data labels
				point._maxX = pointMaxX;
				point._minX = pointMinX;
				point._maxY = pointMaxY;
				point._minY = pointMinY;

				maxX = Math.max(maxX, pointMaxX);
				minX = Math.min(minX, pointMinX);
				maxY = Math.max(maxY, pointMaxY);
				minY = Math.min(minY, pointMinY);
			});
			this.minY = minY;
			this.maxY = maxY;
			this.minX = minX;
			this.maxX = maxX;
			
		}
function (paths) {
			var maxX = Number.MIN_VALUE, 
				minX =  Number.MAX_VALUE, 
				maxY = Number.MIN_VALUE, 
				minY =  Number.MAX_VALUE;
			
			
			// Find the bounding box
			each(paths || this.options.data, function (point) {
				var path = point.path,
					i = path.length,
					even = false, // while loop reads from the end
					pointMaxX = Number.MIN_VALUE, 
					pointMinX =  Number.MAX_VALUE, 
					pointMaxY = Number.MIN_VALUE, 
					pointMinY =  Number.MAX_VALUE;
					
				while (i--) {
					if (typeof path[i] === 'number' && !isNaN(path[i])) {
						if (even) { // even = x
							pointMaxX = Math.max(pointMaxX, path[i]);
							pointMinX = Math.min(pointMinX, path[i]);
						} else { // odd = Y
							pointMaxY = Math.max(pointMaxY, path[i]);
							pointMinY = Math.min(pointMinY, path[i]);
						}
						even = !even;
					}
				}
				// Cache point bounding box for use to position data labels
				point._maxX = pointMaxX;
				point._minX = pointMinX;
				point._maxY = pointMaxY;
				point._minY = pointMinY;

				maxX = Math.max(maxX, pointMaxX);
				minX = Math.min(minX, pointMinX);
				maxY = Math.max(maxY, pointMaxY);
				minY = Math.min(minY, pointMinY);
			});
			this.minY = minY;
			this.maxY = maxY;
			this.minX = minX;
			this.maxX = maxX;
			
		}
function ( paths ) { var maxX = Number . MIN_VALUE , minX = Number . MAX_VALUE , maxY = Number . MIN_VALUE , minY = Number . MAX_VALUE ; // Find the bounding box each ( paths || this . options . data , function ( point ) { var path = point . path , i = path . length , even = false , // while loop reads from the end pointMaxX = Number . MIN_VALUE , pointMinX = Number . MAX_VALUE , pointMaxY = Number . MIN_VALUE , pointMinY = Number . MAX_VALUE ; while ( i -- ) { if ( typeof path [ i ] === 'number' && ! isNaN ( path [ i ] ) ) { if ( even ) { // even = x pointMaxX = Math . max ( pointMaxX , path [ i ] ) ; pointMinX = Math . min ( pointMinX , path [ i ] ) ; } else { // odd = Y pointMaxY = Math . max ( pointMaxY , path [ i ] ) ; pointMinY = Math . min ( pointMinY , path [ i ] ) ; } even = ! even ; } } // Cache point bounding box for use to position data labels point . _maxX = pointMaxX ; point . _minX = pointMinX ; point . _maxY = pointMaxY ; point . _minY = pointMinY ; maxX = Math . max ( maxX , pointMaxX ) ; minX = Math . min ( minX , pointMinX ) ; maxY = Math . max ( maxY , pointMaxY ) ; minY = Math . min ( minY , pointMinY ) ; } ) ; this . minY = minY ; this . maxY = maxY ; this . minX = minX ; this . maxX = maxX ; }
Get the bounding box of all paths in the map combined.
Get the bounding box of all paths in the map combined .