我想将标识符设置为这样的功能。
{
"type":"FeatureCollection",
"features":[
{
"type":"Feature",
"geometry":{
"type":"Polygon",
"coordinates":[
[
[139.772865837, 35.703702135],
[139.77279358, 35.703120198],
[139.772866083, 35.703113532],
[139.772906355, 35.70310964],
[139.773296913, 35.703073532],
[139.773325525, 35.7030710270001],
[139.773376641, 35.703066306],
[139.773661362, 35.703039919],
[139.772865837, 35.703702135]
]
]
},
"id":"13101",
"properties":{
}
}
]
}
有一个函数“ Data.Feature.getId()”。
https://developers.google.com/maps/documentation/javascript/reference/data#Data.Feature.getId
问题
为什么没有设置标识符的功能?
以及如何设置标识符。