Объявление. Скоро на платформе Google Maps появится новый стиль базовой карты. Это обновление стиля карты включает новую цветовую палитру по умолчанию, модернизированные булавки, а также улучшения интерфейса и удобства использования карты. Все стили карт будут автоматически обновлены в марте 2025 г. Дополнительную информацию о доступности и о том, как принять участие раньше, см. в разделе Новый стиль карты для платформы Google Maps .
Поля сведений о месте определяют типы данных, которые должны возвращаться при запросе информации о месте. На этой странице перечислены все такие поля и указано, поддерживаются ли они в разных API/SDK (это зависит от платформы и/или функции).
Библиотека Places и поддержка полей Maps JavaScript API
Методы Find Place, Nearby Search и Text Search возвращают только часть полей, возвращаемых запросами сведений о месте. Эти методы НЕ возвращают следующие поля:
address_component
adr_address
formatted_phone_number
international_phone_number
opening_hours (не возвращается методом Find Place; для Nearby Search и Text Search используйте параметр запроса openNow)
reviews
takeout
type
url
utc_offset_minutes
vicinity
website
Чтобы вернуть значения таких полей, сделайте запрос сведений о месте, передав идентификатор места и указав, какие поля нужны.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2024-12-22 UTC."],[[["This documentation outlines the available Place Data Fields for Google Places API and SDKs across Android, iOS, JavaScript, and Web Service platforms."],["Place Data Fields determine the specific data returned when requesting Place Details, and support varies based on the platform and feature."],["The documentation includes tables outlining supported fields for Basic Data, Contact Data, and Atmosphere Data, with links to relevant platform documentation for each field."],["When using the Places Library, Maps JavaScript API with Find Place, Nearby Search, or Text Search, certain fields are not returned and require a Place Details request for access."],["Place data results are never empty; if a requested field has no data for a place, the field is simply not present in the response."]]],["Place data fields determine the type of information returned in Place Details requests across different platforms: Android, iOS, JavaScript, and Web Service. These fields, categorized as Basic, Contact, and Atmosphere data, vary in support across APIs and SDKs. Specific fields, like `address_components` and `opening_hours`, are not returned for all Place Searches. For these fields, a specific Place Details request is needed, using a place ID and specifying desired fields. Only data with values will be returned.\n"]]