DennisSchiefer
899d216b9b
made it easier to remove localization and on-demand loading of new
...
language packs,
added parameter to say whether to use on-demand reloading,
added parameter for the directory that contains the localization files,
corrected a small bug when the string for the HEAD_ON instruction was
not available,
2012-04-14 18:03:33 +02:00
DennisSchiefer
73aeab3a57
reworked loading of images and icons (-> easier to add new ones),
...
adapted routing description to use new description ids,
fixed bug with localization dropdown and FF3,
added localization for "(found X results)"
2012-04-13 17:47:53 +01:00
DennisSchiefer
9b599c90f8
Merge branch 'trial/printing' into develop
...
Conflicts:
WebContent/OSRM.debug.js
2012-04-11 23:03:24 +02:00
DennisSchiefer
252c234221
made parsing of get parameters more robust
2012-04-11 22:59:41 +02:00
DennisSchiefer
888a5d04c8
removal of dragger marker more consistent,
...
changed printing initialization to be more easily removable from GUI,
localization bug fixes,
added option to give language as get parameter (hl=),
2012-04-11 22:00:19 +02:00
DennisSchiefer
ffd5e2de99
all images are now loaded in main.js
2012-04-10 23:50:04 +02:00
shiin
0fd8d4d8cf
all visible lat/lng coordinates are truncated after 6 digits (this
...
includes inputboxes, osmbugs link, route link, gpx link),
moved all events from html to javascript
2012-04-08 19:50:30 +02:00
DennisSchiefer
abba49a44e
- added GUI support for language switching
...
- first tests for support of printing
2012-04-03 21:13:44 +02:00
DennisSchiefer
4638e7c24d
corrected error and bumped version to 0.1.3
2012-04-02 20:57:39 +02:00
DennisSchiefer
93ae928236
added icons that can change their image,
...
added image change while dragging markers,
increased (invisible) size of drag marker,
fixed issues with drag marker and highlight marker overlapping
2012-04-02 08:29:03 +02:00
DennisSchiefer
5165e01a5c
added draggable routes,
...
changed findViaPosition to only return the index and not set the node,
IMPORTANT: changed leaflet-src.js for a bugfix!,
2012-03-30 16:30:16 +01:00
DennisSchiefer
fd3cf02af4
complete restructure of OSRM.Routing
2012-03-29 16:55:12 +01:00
DennisSchiefer
2bb51717b9
extracted OSRM.Map and OSRM.MapView classes,
...
moved centering that respects UI visibility to OSRM.MapView
2012-03-29 14:34:55 +01:00
DennisSchiefer
4fe6346146
reordered styles in main.html,
...
readded default values to GUI,
made TODO marker to check whether GUI is initilaized
2012-03-28 15:02:09 +01:00
DennisSchiefer
e132ac5c53
moved routing functions to OSRM namespace,
...
added functions to measure JSONP timings
2012-03-28 12:57:42 +01:00
DennisSchiefer
1a9776cff9
moved utils into OSRM namespace
2012-03-28 12:17:22 +01:00
DennisSchiefer
4b93107415
made logo a bit smaller so that it is centered,
...
removing source or target now clears route description,
changed GUI handling to no longer be dependent on the actual width of
the sidebar
2012-03-23 18:13:07 +01:00
DennisSchiefer
e0602934b2
Refactored Geocoder -> now resides in OSRM namespace
2012-03-23 09:55:55 +01:00
DennisSchiefer
bef41ed667
geocoder error messages now state the input string,
...
website is XHTML1.0 strict compliant,
centering now respects if the sidebar is shown,
corrected spelling mistakes
2012-03-22 17:35:09 +01:00
DennisSchiefer
f4c6ec90ce
fix to route link generator and parser
2012-03-19 10:28:32 +01:00
DennisSchiefer
69790eb8c7
refactored geocoder code (still need to check dirty flags)
2012-03-18 21:44:14 +01:00
DennisSchiefer
92dbadebae
increased zoom level for route description (new config entry),
...
removed some deprecated comments
2012-03-18 18:17:04 +01:00
DennisSchiefer
3e4249ad41
used abbreviations for sub-namespaces GLOBALS, CONSTANTS
2012-03-17 20:49:19 +01:00
DennisSchiefer
13126ac0c1
moved all variables/objects to OSRM namespace
2012-03-17 20:43:52 +01:00
DennisSchiefer
f9877fd8ba
refactoring: used hasSource, hasTarget routines throughout the code
2012-03-17 17:04:45 +01:00
DennisSchiefer
9567a7e38c
added support for saving route zoom level and position in route links
2012-03-17 14:17:08 +01:00
DennisSchiefer
204189c326
- version bump to v0.1.1
...
- restructured buttons (route is gone, search is show)
- added prefetching gui hide/show buttons
- increased timeout to 5000ms
- click highlight marker to hide it
- boundary box on Europe when querying geocoder
- added "reached your destination" display in route instructions
- improved visual for route summary
- when loading a stored route, source and target are named and the route
is zoomed correctly
- improved display results of reverse geocoder (ues village/country
tags)
- more consistent behaviour when displaying reverse geocoder results
or geocoordinates
- reverse geocoder now works at dragend
- more consistent behaviour when leaving an input box
- reversing a route when only one marker is set empties the result box
2012-03-16 15:06:43 +01:00
DennisSchiefer
9c2a1dc37f
implemented several security measures when parsing GET input to the site
2012-03-16 09:07:03 +01:00
DennisSchiefer
26c9d357f0
made reverse geocoding more intuitive,
...
changed search and route buttons to centering buttons
2012-03-16 07:22:47 +01:00
DennisSchiefer
879d73c629
testing to remove route button -> search will be automatical on lost
...
focus
2012-03-15 17:45:22 +01:00
DennisSchiefer
d453cadc8c
added call option to set destination when calling the site
2012-03-15 14:22:00 +01:00
DennisSchiefer
700206099b
made route reset more robust by clearing *really* everything,
...
improved route description (added distances to the right, bold street
names, orientation in first instruction and non-breaking spaces for
units),
route link now displays the shortened link name,
content of input boxes is only overwritten if the respective node is
set or dragged,
experimental support for reverse geocoding (when setting a new node by
text box or clicking on map)
2012-03-15 13:29:28 +01:00
DennisSchiefer
b8944da9dc
prevent browser context menu on map
2012-03-14 18:07:15 +01:00
DennisSchiefer
a7eef27e99
added legal headers,
...
beautified comments,
moved language settings to config,
moved timeout settings to config,
corrected bug with route link and via nodes,
removed old files,
corrected spelling error for roundabout
2012-03-14 16:45:15 +01:00
DennisSchiefer
d92b28d2c3
restructured for release
2012-03-14 10:39:37 +01:00
DennisSchiefer
4918549bac
fixed bug when selecting city options in geocoder,
...
added clicking on map to create markers,
reset also clears input boxes now
2012-03-13 15:26:53 +01:00
DennisSchiefer
784f417857
changed geocoder to official OSM geocoder,
...
switched default map style to osm.org
2012-03-13 14:31:23 +01:00
DennisSchiefer
0bc3e098ac
added GUI support for IE9 and IE10,
...
changed GUI legal text,
changed via-node deletion to click only,
moved default entries for input boxes to config file,
made input boxes selectable again
2012-03-13 14:15:07 +01:00
schiefer
749d83a69f
- store prefetched images permanently
...
(otherwise they are not prefetched before the function terminated)
- store each type of marker icon once
2012-03-09 15:26:32 +01:00
schiefer
8b109904c8
initial import
2012-03-09 09:24:51 +01:00