UNPKG
opengis
Version:
latest (1.1.0)
1.1.0
1.0.2
0.18.9
openlayer Map Component for Vue 2.0
github.com/huhongxun1985/gis
huhongxun1985/gis
opengis
/
src
/
base
/
Geometry.js
17 lines
(16 loc)
•
331 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/** * 胡红勋 2017-12-23 几何类 *
@param
{*} conf 对象类型 */
var
Geometry = function (conf) {
var
_conf = { ...conf }
this
.type = _conf.type
this
.points = _conf.points
this
.toString = function () {
return
{ type:
this
.type, points:
this
.points } } } export { Geometry }