UNPKG

quodolores

Version:

Monorepo for the Firebase JavaScript SDK

22 lines (13 loc) 715 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [GeoPoint](./firestore_.geopoint.md) &gt; [(constructor)](./firestore_.geopoint._constructor_.md) ## GeoPoint.(constructor) Creates a new immutable `GeoPoint` object with the provided latitude and longitude values. <b>Signature:</b> ```typescript constructor(latitude: number, longitude: number); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | latitude | number | The latitude as number between -90 and 90. | | longitude | number | The longitude as number between -180 and 180. |