Skip to content

editFeatures处理geojson生成的param不能正确解析featureCollection格式的数据 #97

@zhuxiangjian

Description

@zhuxiangjian

Request a feature or report a bug? [这是一个需求还是一个缺陷]

缺陷

One-line summary [问题简述]

当使用geojson作为地物编辑的参数时,如果geojson是featureCollection,方法不能正常解析

Version [产品及版本]

  • iClient product (for leaflet,for openlayers,for mapboxgl,classic)[iClient 产品]:for leaflet
  • iClient version [iClient 版本]: 10.0.0
  • Browser version [浏览器类型和版本]:谷歌
  • OS Version [操作系统类型和版本]:win

Actual Behavior [当前现象]

不能解析featureCollection类型的geojson中的属性信息

Expected Behavior [期望现象]

能正常解析

Example of reproducing the issue [重现现象的例子]


What is motivation or use case for changing the behavior? [需求的场景和目的是什么?]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions