Richard Fairhurst
2f0794738c
Add CORS for engines that support it
...
(Do we need a fix for IE8/9?
- https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest
- https://github.com/jaubourg/ajaxHooks/blob/master/src/xdr.js )
2014-03-08 14:03:08 +00:00
Richard Fairhurst
a997690897
Refactor MQ/OSRM engines a la @karussell patch
2014-03-08 13:37:27 +00:00
Richard Fairhurst
dd4406ed41
Remove CloudMade foot engine
...
(OSM is probably not an "Enterprise Plan" customer ;) )
2014-03-08 12:35:00 +00:00
Richard Fairhurst
7915a22caf
Use generic GraphHopper engine
2014-03-08 12:31:06 +00:00
Richard Fairhurst
3ddda7319c
Merge pull request #13 from danstowell/jsrouting-ffoxdragok
...
fix firefox behaviour when dragging pointer from the tray to the map
2014-03-08 12:13:40 +00:00
Richard Fairhurst
5b6558c0f2
Improve error-handling
2014-03-08 12:07:54 +00:00
Richard Fairhurst
902f1b0887
Add spinner while awaiting route
2014-03-08 11:14:48 +00:00
Dan Stowell
f28676c07d
fix firefox behaviour when dragging pointer from the tray to the map
2014-03-08 10:48:01 +00:00
Richard Fairhurst
bf895a0332
Reformat string to avoid long line
2014-03-08 10:43:29 +00:00
Dan Stowell
628eea2b97
jsrouting: zoom to bbox on getting fresh geocoded route, but not on drag etc
2014-03-08 10:09:30 +00:00
Richard Fairhurst
565f661f20
Merge pull request #11 from danstowell/jsrouting-pulldownchange
...
refresh search if showing and user changes provider
2014-03-07 15:58:04 +00:00
Dan Stowell
deea77ab93
refresh search if showing and user changes provider
2014-02-23 22:15:38 +00:00
Dan Stowell
205ccf2d51
remove the todo that I addressed
2014-02-23 21:58:28 +00:00
Dan Stowell
acf7cf5738
add a credits line for each routing service
2014-02-23 21:56:39 +00:00
Kai Krueger
3eaf58c151
Make more of the javascript routing functions internationalizable
2014-02-01 21:10:54 -07:00
Richard Fairhurst
3cfcf18a59
Remove some repeated-query funkiness
2014-01-23 22:53:07 +00:00
Richard Fairhurst
33b1845587
Remove a couple of TODOs
2014-01-23 22:32:39 +00:00
Richard Fairhurst
0e6a41c1c9
Repair Go button
2014-01-23 22:31:44 +00:00
Richard Fairhurst
149182f620
Apparently 'final' is a reserved word in JS...
2014-01-23 22:29:09 +00:00
Richard Fairhurst
7c13b43f31
Integrate marker & geocoding behaviours
2014-01-23 21:10:11 +00:00
Richard Fairhurst
423b13d5ce
Add GraphHopper engine (thanks @karussell!)
2014-01-23 20:19:06 +00:00
Richard Fairhurst
e825f8b264
More draggable routes work
2014-01-23 11:38:01 +00:00
Richard Fairhurst
edd6235b45
More work on draggable markers
2014-01-23 10:26:04 +00:00
Richard Fairhurst
08837b2f8b
Start work on drag-and-drop start/end markers
2014-01-23 00:49:00 +00:00
Richard Fairhurst
d40d32889c
Remove logging
2014-01-22 20:31:58 +00:00
Richard Fairhurst
576745e332
Allow user to click Go before geocode result
2014-01-22 20:29:38 +00:00
Richard Fairhurst
81ebdee185
Parse CloudMade directions
2014-01-22 18:53:30 +00:00
Richard Fairhurst
36ee18b88e
Parse MapQuest directions
2014-01-22 18:38:07 +00:00
Richard Fairhurst
d14406cead
Move more engine-specific stuff out of main .js
2014-01-22 18:20:07 +00:00
Richard Fairhurst
c4f3d1bd32
Start MapQuest Open support
2014-01-22 15:53:35 +00:00
Richard Fairhurst
7834c628e9
Simplify usage, fix closures
2014-01-22 12:52:51 +00:00
Richard Fairhurst
3bd5ae2399
Move routing engines into their own files
2014-01-22 09:52:01 +00:00
Richard Fairhurst
40ad8c7def
Start work on second engine
2014-01-21 23:47:50 +00:00
Richard Fairhurst
a41aec9609
Show little popup on click
2014-01-21 22:39:51 +00:00
Richard Fairhurst
15c1564832
Start to make turn-by-turn instructions clickable
2014-01-21 21:44:09 +00:00
Richard Fairhurst
fd991a0201
Close directions
2014-01-21 21:15:49 +00:00
Richard Fairhurst
ad01a61b6d
Query options presentation
2014-01-21 20:57:55 +00:00
Richard Fairhurst
c6e8775dba
Presentation of directions
2014-01-21 20:42:31 +00:00
Richard Fairhurst
69437cf0ad
Presentation work
2014-01-21 19:22:50 +00:00
Richard Fairhurst
2198b6ebbf
Beginning of JavaScript-only routing UI
2014-01-21 13:29:05 +00:00
Marco Antonio Frias Butrón
b01bda9238
Reserve enough space for the buttons at the bottom of the message list
2014-01-19 17:15:05 +00:00
Simon Poole
a24f52dec7
Add a landing page for "fix the map / report a problem" links
2014-01-19 13:48:27 +00:00
Tom Hughes
933b091330
Highlight erroneous fields by adding a class to them
...
The default rails scheme for highlighting errors is to wrap the
field in a div, but that changes the structure of the page and can
change the meaning of CSS rules applied to the fields.
As an alternative we now apply a class to the fields, and use that
in the CSS to apply a highlight.
2014-01-15 21:41:16 +00:00
Tom Hughes
a4561fe89b
Preserve aspect ratio when scaling a user thumbnail
...
Fixes #675
2014-01-12 20:32:33 +00:00
Tom Hughes
fd0ed54b16
Add a close icon to the feature warning panel
...
Fixes #660
2013-12-18 00:14:29 +00:00
Tom Hughes
14cb332204
Stop the "Load" button overlaying text in the data browser warning
...
Fixes #959
2013-12-17 21:49:18 +00:00
Tom Hughes
dd12e1de63
Restore the duplicate search form in the header
...
It turns out the duplicate form is used, for the the mobile view.
2013-12-16 09:39:54 +00:00
Tom Hughes
92d7a9f3fd
Make rich text edit controls use as much space as possible
...
Use CSS3 calculations to set the width of a rich text edit control
to the maximum possible while still allowing space for the help.
Also set the subject/title fields to the same width.
Fixes #657
2013-12-12 09:04:46 +00:00
Tom Hughes
32f86afbeb
Allow word-breaks in changeset comments
2013-12-11 17:56:22 +00:00
Tom Hughes
19c77c3d24
Issue all _osm_location cookies against the root path
...
To ensure that any old cookies issued against other paths are
removed we make sure to do a removeCookie call first without a
path being specified so that any cookie for the current page is
removed before we add a new one against the root.
Fixes #652
2013-12-11 00:19:49 +00:00