[[["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."],[],[],null,["# Class GeoPoint (7.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [7.11.0 (latest)](/nodejs/docs/reference/firestore/latest/firestore/geopoint)\n- [7.9.0](/nodejs/docs/reference/firestore/7.9.0/firestore/geopoint)\n- [7.7.0](/nodejs/docs/reference/firestore/7.7.0/firestore/geopoint)\n- [7.6.0](/nodejs/docs/reference/firestore/7.6.0/firestore/geopoint)\n- [7.5.0](/nodejs/docs/reference/firestore/7.5.0/firestore/geopoint)\n- [7.4.0](/nodejs/docs/reference/firestore/7.4.0/firestore/geopoint)\n- [7.3.1](/nodejs/docs/reference/firestore/7.3.1/firestore/geopoint)\n- [7.2.0](/nodejs/docs/reference/firestore/7.2.0/firestore/geopoint)\n- [7.1.0](/nodejs/docs/reference/firestore/7.1.0/firestore/geopoint)\n- [6.4.1](/nodejs/docs/reference/firestore/6.4.1/firestore/geopoint)\n- [6.3.0](/nodejs/docs/reference/firestore/6.3.0/firestore/geopoint)\n- [6.0.0](/nodejs/docs/reference/firestore/6.0.0/firestore/geopoint)\n- [5.0.2](/nodejs/docs/reference/firestore/5.0.2/firestore/geopoint)\n- [4.15.1](/nodejs/docs/reference/firestore/4.15.1/firestore/geopoint)\n- [4.14.2](/nodejs/docs/reference/firestore/4.14.2/firestore/geopoint)\n- [4.9.8](/nodejs/docs/reference/firestore/4.9.8/firestore/geopoint) \nAn immutable object representing a geographic location in Firestore. The location is represented as a latitude/longitude pair.\n\nPackage\n-------\n\n[@google-cloud/firestore](../overview.html)\n\nConstructors\n------------\n\n### (constructor)(latitude, longitude)\n\n constructor(latitude: number, longitude: number);\n\nCreates a \\[GeoPoint\\][GeoPoint](/nodejs/docs/reference/firestore/latest/firestore/geopoint).\n\n**Example** \n\n\n let data = {\n google: new Firestore.GeoPoint(37.422, 122.084)\n };\n\n firestore.doc('col/doc').set(data).then(() =\u003e {\n console.log(`Location is ${data.google.latitude}, ` +\n `${data.google.longitude}`);\n });\n\nProperties\n----------\n\n### latitude\n\n get latitude(): number;\n\nThe latitude as a number between -90 and 90.\n\n{number} GeoPoint#latitude\n\n### longitude\n\n get longitude(): number;\n\nThe longitude as a number between -180 and 180.\n\n{number} GeoPoint#longitude\n\nMethods\n-------\n\n### isEqual(other)\n\n isEqual(other: firestore.GeoPoint): boolean;\n\nReturns true if this `GeoPoint` is equal to the provided value."]]