buche / leaflet-openweathermap

A JavaScript library for including OpenWeatherMap's layers and OWM's current city/station data in leaflet based maps without hassle.
259 stars 132 forks source link

default map, level tile , current weather on load #31

Closed maxservice closed 6 years ago

maxservice commented 6 years ago

Is it possibile to set default map, level tile and current weather on load map?

Thanks

buche commented 6 years ago

This is nothing the plugin can realize. If you write your own map using this plugin you can set any map attributes as you like. Remember: This is just a plugin for people creating leaflet based maps.

The demo map in the examples directory is just that: a demo. It is not intended for production use used by other people. Its data plan on getting OpenWeatherMap's data is very limited (and is often exceeded).

maxservice commented 6 years ago

Thank you for your answer, i'm not doing anything as you said, i'm only improving my know-how and anyway i solved myself what i was looking for.

As soon as possible i will pull the request for the leaflet-openweathermap.js file with the italian translation.

Best Regards

Max

2018-05-08 19:47 GMT+02:00 buche notifications@github.com:

This is nothing the plugin can realize. If you write your own map using this plugin you can set any map attributes as you like. Remember: This is just a plugin for people creating leaflet based maps.

The demo map in the examples directory is just that: a demo. It is not intended for production use used by other people. Its data plan on getting OpenWeatherMap's data is very limited (and is often exceeded).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/buche/leaflet-openweathermap/issues/31#issuecomment-387485737, or mute the thread https://github.com/notifications/unsubscribe-auth/Ak47eOyQSr9ycva5s-Wx7NHlj23gvyd_ks5twdpGgaJpZM4T0obV .