Ember-leaflet-routing-machine addon


#1

Hi,

Is anybody using http://www.liedman.net/leaflet-routing-machine/ with ember ?

I have raised issue at https://github.com/miguelcobain/ember-leaflet/issues/84 and in adddons there is none to support it.

I would like to know how much time does it take to integrate since I am a new to Ember.

Any helping hand is most welcome.

Regards, Kiran.


#2

If you are lucky you can repeat steps taken by https://github.com/canufeel/ember-leaflet-marker-cluster to wrap the routing-machine. Willing to help but I don’t have much time before augustus 1.


#3

@broerse, I have started the work as per your suggestion at https://github.com/kirantpatil/ember-leaflet-routing-machine.

Thanks.


#4

I have updated the repo please have a look at it and let me know if I miss something.

I have doubt regarding adding “addon/components/leaflet-routing-machine.js” and “app/components/leaflet-routing-machine.js” as mentioned in “ember-leaflet-marker-cluster

I don’t know what to add there.

Please guide me.


#5

@kirantpatil what is the API you imagine when using leaflet-routing-machine in ember-leaflet?

Btw, you can show up on ember’s official slack and ping me if you need.


#6

I want to use APIs which will help me to address basic needs such as

  1. Using lat/lng, show two location markers on the map with route

  2. Show route Distance and Time

  3. Show alternate route

I have no idea which APIs to be used for the above purpose.