Renamed 'MapView' to 'MapViewport'. Added documentation to the maps module.
This commit is contained in:
@@ -6,8 +6,7 @@ import { GeoGraphics, GeoShape, GeoMultiShape, GeoLine, GeoPoint } from './geogr
|
||||
*
|
||||
* @static
|
||||
* @export
|
||||
* @class GeoJsonGraphics
|
||||
* @extends {GeoGraphics}
|
||||
* @class
|
||||
*/
|
||||
export default class GeoJson {
|
||||
static isLineType(type) {
|
||||
@@ -59,7 +58,6 @@ export default class GeoJson {
|
||||
}
|
||||
|
||||
list.push({ type, coordinates })
|
||||
// console.log({type, coordinates})
|
||||
})
|
||||
|
||||
return list
|
||||
@@ -123,7 +121,7 @@ export default class GeoJson {
|
||||
* considered valid. A complete list is provided in the GeoUtils.
|
||||
*
|
||||
* @param {object} point - The point that is tested for validity.
|
||||
* @returns
|
||||
* @returns {boolean}
|
||||
* @memberof GeoJson
|
||||
*/
|
||||
static validateAndConvertPoint(point) {
|
||||
@@ -302,7 +300,7 @@ export class GeoUtils {
|
||||
* {latitude: lat, longitude: lng}
|
||||
*
|
||||
* @static
|
||||
* @param {object / array} coordinate - Coordinate to be tested, if it is an valid coordinate.
|
||||
* @param {object|array} coordinate - Coordinate to be tested, if it is an valid coordinate.
|
||||
* @returns - Returns the coordinate properly transformed. If transformation was not possible, it returns null.
|
||||
* @memberof GeoGraphics
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user