Replace google closure syntax = with brackets around name
This commit is contained in:
@@ -78,8 +78,8 @@ export const PROJECTIONS = [
|
||||
* Transformation from EPSG:4326 to EPSG:3857.
|
||||
*
|
||||
* @param {Array<number>} input Input array of coordinate values.
|
||||
* @param {Array<number>=} opt_output Output array of coordinate values.
|
||||
* @param {number=} opt_dimension Dimension (default is `2`).
|
||||
* @param {Array<number>} [opt_output] Output array of coordinate values.
|
||||
* @param {number} [opt_dimension] Dimension (default is `2`).
|
||||
* @return {Array<number>} Output array of coordinate values.
|
||||
*/
|
||||
export function fromEPSG4326(input, opt_output, opt_dimension) {
|
||||
@@ -111,8 +111,8 @@ export function fromEPSG4326(input, opt_output, opt_dimension) {
|
||||
* Transformation from EPSG:3857 to EPSG:4326.
|
||||
*
|
||||
* @param {Array<number>} input Input array of coordinate values.
|
||||
* @param {Array<number>=} opt_output Output array of coordinate values.
|
||||
* @param {number=} opt_dimension Dimension (default is `2`).
|
||||
* @param {Array<number>} [opt_output] Output array of coordinate values.
|
||||
* @param {number} [opt_dimension] Dimension (default is `2`).
|
||||
* @return {Array<number>} Output array of coordinate values.
|
||||
*/
|
||||
export function toEPSG4326(input, opt_output, opt_dimension) {
|
||||
|
||||
@@ -37,7 +37,7 @@ export const METERS_PER_UNIT = (Math.PI * RADIUS) / 180;
|
||||
class EPSG4326Projection extends Projection {
|
||||
/**
|
||||
* @param {string} code Code.
|
||||
* @param {string=} opt_axisOrientation Axis orientation.
|
||||
* @param {string} [opt_axisOrientation] Axis orientation.
|
||||
*/
|
||||
constructor(code, opt_axisOrientation) {
|
||||
super({
|
||||
|
||||
Reference in New Issue
Block a user