[go: nahoru, domu]

Skip to content

Using leaflet and your resources in Angular in a easy way

License

Notifications You must be signed in to change notification settings

joapedu/angular-leaflet

Repository files navigation

Maps in Angular

Run the following comands to install the npm leaflet (already with a project Angular).

	- $npm i leaflet@1.9.3
	- $npm install @types/leaflet@1.9.0
	- $npm install @types/leaflet@1.9.0 -D

After that, change the code inside app.component.ts

	- const map = new Map('map').setView([<<the cordinate here>>], <<zoom>>);
  • With this, you can start the map in the cords who you choose and the zoom who you like.

You can put markers and the setview in the mark.

About

Using leaflet and your resources in Angular in a easy way

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published