traffordDataLab / leaflet.reachability

Plugin for the Leaflet JavaScript library to show areas of reachability based on time or distance for different modes of travel using the openrouteservice isochrones API.
MIT License
64 stars 7 forks source link

Angular project #7

Closed rudyhadoux closed 3 years ago

rudyhadoux commented 3 years ago

Hi,

Is there a way to insert this lib in an Angular project ?

itsozz commented 3 years ago

Hi. I'm afraid I don't use Angular so can't give you particular advice on how to do this, however I found the following which might be useful for you:

https://codehandbook.org/use-leaflet-in-angular/

This library has been wrapped into an R package so I can't see why you wouldn't be able to use it in Angular or other frameworks.

Hope that helps. Good luck with the project and thanks for your interest in the plugin.

rudyhadoux commented 3 years ago
  1. Thanks for the useful link. With Angular there are @types and npm libs.
  2. How does OpenRouteService collect road traffic records ?
  3. Does your plugin take the time into account ? Because road traffic depends on the time.
itsozz commented 3 years ago

No worries. Regarding the questions concerning OpenRouteService, I don't know I'm afraid, you would need to ask them as it's their API. However the plugin itself doesn't take the time of day into account. All it does is to provide a way to query the OpenRouteService Isochrones API and display the results all from within a Leaflet map.

rudyhadoux commented 3 years ago

I will ask them indeed. Thanks.