Skip to content

impronunciable/latlng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LatLng

Geographical point data structure extracted from LeafletJS

Installation

$ component install danzajdband/latlng

API

LatLng(lat, lon)

Create a new LatLng object given 2 (latitude and longitude) values
var LatLng = require('latlng');
var latlng = LatLng(3, 0.14);

LatLng#equals(latlng)

Check for equality with other LatLng object

LatLng#toString

Create a String representation for the object

License

MIT

About

Geographical point data structure extracted from LeafletJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published