mapbox.js icon indicating copy to clipboard operation
mapbox.js copied to clipboard

Example for directions + geocoding

Open lyzidiamond opened this issue 9 years ago • 6 comments

@danswick is going to tackle this example next week. Steps:

  • [ ] Write the example
  • [ ] Check that it runs locally
  • [ ] Make a PR, tag @lyzidiamond and @tmcw
  • [ ] After :+1:, merge PR!

Let me know if you have any questions along the way!

lyzidiamond avatar Aug 28 '15 18:08 lyzidiamond

Rough draft is up and running here - http://codepen.io/danswick/pen/qOZbXG?editors=101

danswick avatar Sep 17 '15 02:09 danswick

@danswick sweet! I will check this out tomorrow.

lyzidiamond avatar Sep 17 '15 03:09 lyzidiamond

@danswick Can you put that in a PR for review?

jfirebaugh avatar Sep 17 '15 17:09 jfirebaugh

@danswick I made something similar at https://www.mapbox.com/bites/00174/ -- feel free to appropriate bits and pieces as needed.

is there some way to incorporate the default geocoder to get some typeahead action?

peterqliu avatar Sep 17 '15 19:09 peterqliu

@danswick and I are going to get together this afternoon and turn this into a PR.

lyzidiamond avatar Sep 17 '15 19:09 lyzidiamond

Love that demo, @peterqliu! Yeah, would definitely like to incorporate typehead. Good call.

danswick avatar Sep 18 '15 17:09 danswick