Voice guided navigation on Graphopper - graphhopper

I have been looking at how to implement voice guided navigation on android using OSM data, but there seems to be not enough documentation online.Does any one know what it might take to add voice guided navigation to graphhopper routing on android? Thanks

You need a text to voice engine. I think google offers one for free integrated in Android but there are certainly free alternatives. And then feed it with the appropriate message from the instruction. To find out which instruction comes next you can use the find method:
ghResponse.getInstructionList().find(currentPosition.latitude, currentPosition.longitude)

Related

Highlight an area based on postal code [Google Maps]

I need to show a newspaper reach on my website based on postal codes. I have read that Google Maps doesn't have an API for it, so I tried to find some alternatives.
However, I found nothing. So I am asking you, what would be the best and fastest thing to do in this situation? Are there any vector maps that have the administrative boundaries already made? And that can be connected with postal codes?
Google maps example of what I need
It seems like your purpose is marketing. On your website, you want people to see the coverage area / newspaper reach, so you only need images. Here is an answer, according to that assumption.
I suggest you make the exact images that will work best for you. (This is a common job for designers on many web development teams, and if you are having trouble creating high-quality images, I'm sure you can find someone who is skilled with it.)
Using Google (example search), you can find various free web applications that allow you to annotate maps. Save or screenshot your images and post them on your website.
Alternatively, using Google Maps, you can search for your postal code and screenshot the results. If you have multiple codes, you'll need to use an image editing program to combine them.

Chromecast SDK cast entire screen

I am happy to be redirected if this is not the place to ask this question (I get that).
Upon looking through resources provided by Google for Chromecast on github, https://github.com/googlecast
I have been unable to find any example of how the "cast entire screen" feature works. I realize that feature is considered 'experimental' and perhaps that is why.
Does the SDK even include that functionality?
I am looking to create a chromecast app that utilizes this feature.
This feature is not exposed through the Cast SDK. You can try Presentation; I haven't tried that myself but I expect that to work; if it doesn't yet, it probably will in future updates.
at Google Cast's extenstion, there is a little arrow at the top right ot it.
Click on it, You'll find "Cast entire screen".

The story of send of Gmail How does it work?

I am really astonished by the Story of send from Google.
Could anyone tell me how does it work under the hood? Where should I start to learn this set of techniques to build such a nice and great website?
Where should I start? Is it purely HTML5&CSS3?
Here are some discussion on hacker news thread:
Very well, that’s how. A quick look reveals that each scene is a section, the assets are linked with data attributes, and the rest is fancy combinations of TweenJS and Three.js animations, coordinated by /assets/js/main.min.js (which also handles the invisible history).
It also appears that Swiffy, the SWF-to-HTML converter (http://www.google.com/doubleclick/studio/swiffy/) was used for helping to generate some of those animations.
Still can figure it out how it works, thank in advance!!!
Guides / Useful sites:
Basics - http://www.w3schools.com/html5/
Advanced - http://www.html5rocks.com/en/tutorials (This is a google project)
Demos - http://html5-demos.appspot.com/
From Apple - http://www.apple.com/html5/
swiffy: I have tried for one of my mobile apps, it worked well. But there is a limit of 1mb for swf file.
storyofsend: yes, Its is using three.js

Google Maps for Absolute Dummies

I just signed up for a Google Maps API key and was hoping for a wizard style application for setting up the map (not a static one), unfortunately I was immediately blinded by science!
Can anyone point me to a tutorial where I can find out how to create a simple google map and place a callout bubble including am image of the office and address details.
Give this a try
http://econym.org.uk/gmap/
The documentation for Google maps is pretty fantastic. That's how I learned to use it.
There's a section for Basics in the docs. That might be a good place to start.
If all you're looking to do is show a map with an infowindow, you might want to take a look at the embedding options here:
http://maps.google.com/help/maps/getmaps/quick.html
It'll let you easily embed a map on your site, without to much science!
Shameless self-promotion
If you are happy to use C# this may or may not help - Lookup on all postcodes on a webpage, and plot them with Google maps. It doesn't really need much ASP.NET/C# knowledge beyond the basics.

Which map api would best support fictionally defined maps?

I am researching the feasibility of setting up a mapping tool for my alliance in an online game.
The game is not based in the real world so I am not interested in the content of the map tools available, just the functionality.
Minimally, I would like the map to display information about where allied cities are located in the world. Ideally, I'd like to be able to display information about desired trades, levels of development, and military actions. All this should be editable by the map users.
I've been looking at the google maps API and it appears that I could use it to serve my ends by using my own map tiles with a custom defined map object and some custom overlays, but it looks like it would be a lot of work to set up.
Is there another tool that would be better suited to this task?
A List Apart has an article from the creators of EveryBlock.com. They use a full open-source stack (client side library, tile cache, map generator) as an alternative to Google Maps. That sounds like it has exactly what you need.
I would argue that the Goole Maps API approach is not as difficult as you imagine. The API provides a very nice interface to define custom tilesets to render your own maps.
This interface is actually quite simple to use. There is a detailed description of it here. When you create a GMapType object you can specify a vector of urls to your own image tiles, label images and fundamentally change the display paradigm.
There are quite a few examples of this on the web:
George R R Martin's Game of Thrones. I found the javascript they have written pretty clear.
The Oblivion Gameworld (as Matt mentioned).
World of Warcraft Gameworld
I reckon this is a really powerful way of implementing your own maps on the web.
There is a google map implementation of the Oblivion gameworld - this might serve as a reference.
Wouldn't defining your own overlay with a KMZ file in Google Maps work?