Open WheresHJ opened 10 years ago
Currently working on this. Sadly can't use Google Maps directions service (what was used in Vote Cambridge) because we are creating our map object using GMaps, which is incompatible with the Google Maps directions service.
I've been fooling around with the GMaps.Route function to try to draw the route and display step-by-step instructions, but haven't been able to get it to work. Also, bummer that the documentation/examples on the GMaps site are pretty useless.
Was able to get the map.drawRoute function to work, but there are no directions included.
Does anyone have experience with GMaps routing?
hey, sorry I missed this last night. I'm wondering if this might be a good time to get rid of GMaps... we've been straddling this whole "let's use Backbone for events!" / "let's use GMaps callbacks for events!" line for a while, it might be a good time to fish/cut bait. I'll spend a little time looking into that, but let me know if you score any breakthroughs with GMaps.Route.
I'd support that. Were there other reasons we'd get rid of GMaps? I'll take another stab at GMaps.Routes/some kind of workaround.
We should allow the user to get directions to a given pantry from a button in the info panel.