
# LatLng

DantSu\OpenStreetMapStaticAPI\LatLng define latitude and longitude for map, lines, markers.

..

* Full name: `\DantSu\OpenStreetMapStaticAPI\LatLng`

**See Also:**

* https://github.com/DantSu/php-osm-static-api - Github page of this project



## Methods

- [__construct](#-__construct) 
- [getLat](#-getlat) 
- [getLng](#-getlng) 

### ->__construct

LatLng constructor.








#### Parameters:

| Parameter | Type | Description |
|-----------|------|-------------|
| `lat` | **float** | Latitude |
| `lng` | **float** | Longitude |




---
### ->getLat

Get latitude









#### Return Value:

 **float** : Latitude



---
### ->getLng

Get longitude









#### Return Value:

 **float** : Longitude



---


---
> Automatically generated from source code comments on 2022-05-31 using [phpDocumentor](http://www.phpdoc.org/)
