PolylineEncoding
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Указывает предпочтительный тип возвращаемой полилинии.
Перечисления |
---|
POLYLINE_ENCODING_UNSPECIFIED | Не заданы предпочтения типа полилинии. По умолчанию ENCODED_POLYLINE . |
ENCODED_POLYLINE | Указывает полилинию, закодированную с использованием алгоритма кодирования полилиний . |
GEO_JSON_LINESTRING | Указывает полилинию с использованием формата GeoJSON LineString . |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-11-12 UTC.
[[["Прост для понимания","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-11-12 UTC."],[[["This option specifies the preferred format for the returned polyline, which represents a series of connected points."],["You can choose between an encoded polyline using a specific algorithm, a GeoJSON LineString format, or leave it unspecified which defaults to the encoded polyline."],["If no preference is specified, the polyline will be encoded using the polyline encoding algorithm."]]],["The document outlines three types of polyline specifications. `POLYLINE_ENCODING_UNSPECIFIED` implies no preference, defaulting to `ENCODED_POLYLINE`. `ENCODED_POLYLINE` uses the polyline encoding algorithm. `GEO_JSON_LINESTRING` employs the GeoJSON LineString format. These specifications determine the format in which polyline data is returned, offering choices for encoded or GeoJSON representations, with a default if no type is chosen.\n"]]