geolinks
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

geolinks

Links to resources with geographical coordinates

// get link to Google Map (resource ID: "google") 
var googleMapLink = geolink.getLink("google", {lat: -33.865, lng: 151.209, zoom: 10} );
// returns
// https://maps.google.com/maps?ll=-33.865,151.209&q=-33.865,151.209&hl=en&t=m&z=10

More details and interactive demo available at

http://geolinks.kozlenko.info/

Build Status

Package Sidebar

Install

npm i geolinks

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

13.5 kB

Total Files

6

Last publish

Collaborators

  • maxim75