我必须从 CLPlaceMark 中取出 map_region 和类型,但我找不到可以在 CLPlaceMark 类中给出 map_region 值的属性。
{
placeData = {
component = (
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_HOURS";
"values_available" = 0;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_RATING";
"values_available" = 0;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_FLYOVER";
"values_available" = 0;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_BOUNDS";
value = (
{
bounds = {
"map_region" = {
eastLng = "-73.832921";
northLat = "40.739434";
southLat = "40.550334";
westLng = "-74.056687";
};
};
}
);
"values_available" = 1;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_ROAD_ACCESS_INFO";
"values_available" = 0;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_PLACE_INFO";
value = (
{
"place_info" = {
center = {
lat = "40.692529";
lng = "-73.990996";
};
timezone = {
identifier = "America/New_York";
};
};
}
);
"values_available" = 1;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_ENTITY";
value = (
{
entity = {
"is_disputed" = 0;
name = (
{
locale = "en_US";
"string_value" = Brooklyn;
}
);
type = "SUB_LOCALITY";
};
}
);
"values_available" = 1;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_ADDRESS";
value = (
{
address = {
"localized_address" = (
{
address = {
formattedAddressLine = (
"Brooklyn, NY",
"United States"
);
structuredAddress = {
administrativeArea = "New York";
administrativeAreaCode = NY;
areaOfInterest = (
"Long Island"
);
country = "United States";
countryCode = US;
geoId = (
);
locality = Brooklyn;
subAdministrativeArea = Kings;
};
};
locale = "en_US";
}
);
};
}
);
"values_available" = 1;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_AMENITIES";
"values_available" = 0;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_STYLE_ATTRIBUTES";
"values_available" = 0;
},
{
"cache_control" = UNCACHEABLE;
"start_index" = 0;
status = "STATUS_SUCCESS";
type = "COMPONENT_TYPE_BUSINESS_CLAIM";
"values_available" = 0;
}
);
"result_provider_id" = 6489;
status = "STATUS_SUCCESS";
};
}
有没有办法从 CLPlaceMark 类中读取值?