View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#61
Originally Posted by Helmuth View Post
If you're unable to make the query with a own timeout perhapt you're able to make the query using a background process and kill those if there is no response within 30 seconds?

This has the benefit hat your app is not unresponsive during the query. (but I guess more than moving the map should not be allowed during it to avoid a unexpecting state (menu open) when the background process delivers the result)
Yep, I think I'll spawn a separate thread for the queries + transparent notification (something like "route lookup in progress") + maybe a cancel button. The queries are mostly pretty much instantaneous, BTW.

Originally Posted by droll View Post
so how do i do i use address search? is this query routed to an online search based on the tile map service i use or something else?
Modrana uses Google Directions for online routing and support for more routing providers is planed. The routing results do not dependent on the current map layer but on the current mode (can be set from the main menu under "mode"). This means, than when you set your mode as "car", you get a route for a car. When you use the "walk" mode, you get walking directions (if you ever wanted to walk from Prague to Sevastopol is just about 13 days ). The "bus" and "train" return results for public transportation and "bike" gets bike optimized routes. Not every routing option works everywhere, the most widely available are the car and walking ones.

Originally Posted by droll View Post
every address i key in doesn't work. it would be useful if i can type in an address for search and zoom in to the target location to pick an end point for a route.

right now i am a bit lost because i sometimes know where i am but don't really know the destination location on the map even though i have its address or generic location. having to scroll around the map to find the destination to route to isn't fun when you have no idea where to scroll to.
Yep, the current implementation is not perfect. I'd like to have it like this:
  • first you type an addres for start or destination
  • modRana geocodes the address
  • and returns a list of possible locations
  • you can check where each location is and choose one as the input for routing
  • you can also select a point near a location as routing input
    • example: you enter "Paris"
    • modRana shows where it thinks Paris is
    • then you choose from the map some place in Paris for routing
  • maybe a list of recently used addresses ?

Any other ideas for address routing improvements ?

BTW, in the current version you can already input geographic coordinates instead of an address.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 4 Users Say Thank You to MartinK For This Useful Post: