For example, the city of Ufa is the Soviet district, and it is through search, and the polygon is highlighted.
We have, for example, coordinates of a point in this area: [54.73554432816171, 55.98554909014894
Call these methods geocode (res_geo.getAddressLine(), res_geo.getLocalities(), res_geo.getThoroughfare(), res_geo.getPremise(), res_geo.getAdministrativeAreas()
) will give the following values, respectively:Russia, Republic of Bashkortostan, Ufa, ulitsa 8 Marta, 32/1 [Ufa] street March 8, undefined (2) ["Republic of Bashkortostan", "Ufa urban Okrug"]
In this area of the city and of the methods according to the IPA, left to get it. Sometimes it shows the neighborhood, but that's not what I need. Version of API 2.1.
PS, came across links to dimik.
1 - without specifying, specifies the area 2 with clarification, not defines. (but there are other coordinates, 1 if it is a circle, a road without a specific address)
I tried without specifying, specifying locality - there is no district. Clarifying district - displays the district
In .properties.get('metaDataProperty') .getAll()
is also not the Soviet district