GeoShape
Type name: GeoShape
Extends StructuredValue
Name |
Type |
Description |
box |
Text |
A polygon is the area enclosed by a point-to-point path for which the starting and ending points are the same. A polygon is expressed as a series of four or more space delimited points where the first and final points are identical. |
circle |
Text |
A circle is the circular region of a specified radius centered at a specified latitude and longitude. A circle is expressed as a pair followed by a radius in meters. |
elevation |
Number or Text |
The elevation of a location. |
line |
Text |
A line is a point-to-point path consisting of two or more points. A line is expressed as a series of two or more point objects separated by space. |
polygon |
Text |
A polygon is the area enclosed by a point-to-point path for which the starting and ending points are the same. A polygon is expressed as a series of four or more space delimited points where the first and final points are identical. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["`GeoShape` extends `StructuredValue` and provides ways to define geographical areas like circles, lines, and polygons."],["It uses properties like `box`, `circle`, `line`, and `polygon` with text values to represent shape data."],["`elevation` can be specified using either `Number` or `Text` type."],["`polygon` and `box` properties define an area enclosed by a series of points, with the first and last points being identical."],["`circle` represents a circular area with a specified radius centered at given coordinates."]]],["The `GeoShape` type defines geographical shapes. It includes properties for `box`, `circle`, `line`, and `polygon`, all represented as `Text`. A `box` and `polygon` are areas with the same start and end points and more than four points. A `line` represents a path with two or more points, while `circle` specifies a circular region with latitude, longitude, and radius. It also features `elevation`, which can be a `Number` or `Text`.\n"]]