[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eGeoPoint\u003c/code\u003e represents a geographic location using latitude and longitude coordinates on the Earth's surface.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits several methods from the \u003ccode\u003eObject\u003c/code\u003e class, including \u003ccode\u003eclone\u003c/code\u003e, \u003ccode\u003eequals\u003c/code\u003e, \u003ccode\u003ehashCode\u003c/code\u003e, and more.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGeoPoint\u003c/code\u003e class has a constructor that takes double values for latitude and longitude as input.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetLatitude()\u003c/code\u003e and \u003ccode\u003egetLongitude()\u003c/code\u003e methods allow access to the latitude and longitude values of the \u003ccode\u003eGeoPoint\u003c/code\u003e respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etoString()\u003c/code\u003e method, which is overridden from \u003ccode\u003eObject\u003c/code\u003e, is available to represent the \u003ccode\u003eGeoPoint\u003c/code\u003e as a string.\u003c/p\u003e\n"]]],[],null,["# Class GeoPoint (2.0.0)\n\n public class GeoPoint\n\nRepresents a point on the Earth's surface, in latitude and longitude\ncoordinates. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e GeoPoint \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### GeoPoint(double latitude, double longitude)\n\n public GeoPoint(double latitude, double longitude)\n\nConstructs a [GeoPoint](/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.search.GeoPoint) from a given latitude and longitude.\n\nMethods\n-------\n\n### getLatitude()\n\n public double getLatitude()\n\n### getLongitude()\n\n public double getLongitude()\n\n### toString()\n\n public String toString()\n\n**Overrides** \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--)"]]