leaflet ajax geojson,leaflet上传geoJson文件

  • Post author:
  • Post category:其他


{

“type”: “FeatureCollection”,

“features”: [

{

“type”: “Feature”,

“properties”: {},

“geometry”: {

“type”: “Point”,

“coordinates”: [

117.24609374999999,

36.65079252503471

]

}

},

{

“type”: “Feature”,

“properties”: {},

“geometry”: {

“type”: “Polygon”,

“coordinates”: [

[

[

117.15253829956055,

36.67089730689858

],

[

117.14584350585938,

36.658917692387114

],

[

117.16318130493163,

36.64721167063527

],

[

117.17554092407227,

36.65313376288551

],

[

117.18034744262694,

36.66773046368491

],

[

117.17348098754883,

36.677643625245274

],

[

117.15322494506836,

36.692786266889456

],

[

117.13193893432617,

36.68397636535661

],

[

117.15047836303711,

36.68012171607383

],

[

117.15253829956055,

36.67089730689858

]

]

]

}

}

]

}