GeoShapeBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
Sets the geographic area with one or more box shapes.
Parameters
box |
A box is the area enclosed by the rectangle formed by two points. The first
point is the lower corner (south-west), the second point is the upper corner
(north-east). Commas is used to separate latitude and longitude to represent the
point. A box is expressed as two points separated by a space character given in
lat,long degrees. E.g.: "37.751608,-122.424074 37.764622,-122.412747". Multiple
boxes can be speciified. |
This method is deprecated.
Use
setBox(String)
instead.
Sets the geographic area with box shape.
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 2021-02-11 UTC.
[null,null,["Last updated 2021-02-11 UTC."],[],[],null,["public final class **GeoShapeBuilder** extends [IndexableBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/IndexableBuilder)\\\u003c[GeoShapeBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/GeoShapeBuilder)\\\u003e \nBuilder to construct an [Indexable](/docs/reference/android/com/google/firebase/appindexing/Indexable)\nfor a geographic area described by a shape.\n\nFor reference, see: \u003c//schema.org/GeoShape\u003e. \n\nPublic Method Summary\n\nInherited Method Summary \nFrom class [com.google.firebase.appindexing.builders.IndexableBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/IndexableBuilder) \n\nFrom class java.lang.Object \n\nPublic Methods \n\npublic [GeoShapeBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/GeoShapeBuilder)\n**setBox** ([String...](//developer.android.com/reference/java/lang/String.html) box) \nSets the geographic area with one or more box shapes. \n\nParameters\n\npublic [GeoShapeBuilder](/docs/reference/android/com/google/firebase/appindexing/builders/GeoShapeBuilder)\n**setBox** ([String](//developer.android.com/reference/java/lang/String.html) box) \n**This method is deprecated.** \n\nUse [setBox(String)](/docs/reference/android/com/google/firebase/appindexing/builders/GeoShapeBuilder#setBox(java.lang.String...)) instead. \nSets the geographic area with box shape."]]