maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Ovi Maps Extra Features - Now with voice guidance (early development) (https://talk.maemo.org/showthread.php?t=66985)

Blaizzen 2010-12-14 12:09

Ovi Maps Extra Features - Now with voice guidance (early development)
 
4 Attachment(s)
Wiki Page

04-06-2011
New html page at
http://talk.maemo.org/showpost.php?p...&postcount=467


10-04-2011, 9:02pm
Latest releases of omVoiceServer and new html page. For more information, see wiki.
http://talk.maemo.org/showpost.php?p...&postcount=314
http://talk.maemo.org/showpost.php?p...&postcount=334

07-03-2011, 11:19pm
Thanks to Jiri, who has made a walkthrough on how to get voice navigation working (amongst other things ;) )
http://www.pittnerovi.com/jiri/hobby...900/index.html

21-01-11 , 06:30 AM
New File released by CormacB - http://talk.maemo.org/showpost.php?p...&postcount=160


Update 21/01/2010
CormacB has released a new version with html5 support (so that it does not require any servers for sound production). See this post for the html file: Index.html and this post for the direction on how to install: Install directions





-=Original Post=-
Greetings forum, I bring to you today, to the few that still use it or care, a couple of features for OVI maps :D

Some of us would remember when OVI maps had that tilt control which allowed the rotation of the map, add this with 3D buildings feature, and you had something pretty to look at, though with the introduction of Pr1.2 they removed that, but today ladies and gentlemen I bring it back!

But wait, thats not all! I with the new Ovi Maps version we have, it has a nice feature to allow maneuvers to be shown when you select one of those little dots on the route. This I thought was an excellent idea as we can see the upcoming turn, sadly it wasn't the case as it just showed one at a time and only when you select it, kinda useless when driving really. So I added another button under the route calculation button to show them all!

While looking around at the code, I did notice a feature for guidance including the possibility of voice guidance. However it does not seem to be finished or we are missing a plugin to make it work (little snippet below). I might play around with it, but I doubt it'll work, but on the bright side it could be coming in the future :D
Code:

        stopNavigation: function () {
            this._guidance.stop();
            this.fireEvent(new nokia.aduno.utils.Event(GuidanceModel.EVENT_GUIDANCE_STOPPED));
            if (this._positionChangeSimulator) {
                this._positionModel._setPositionProvider(null);
                this._positionChangeSimulator.deactivate()
            }
        },
        pauseNavigation: function (aPause) {
            if (aPause === true || aPause === undefined) {
                this._guidance.pause()
            } else {
                this._guidance.resume()
            }
        },
        repeatLastVoiceCommand: function () {
            this._guidance.repeat()
        },
        isNavigationRunning: function () {
            if (this._guidance) {
                return this._guidance.isRunning()
            }
            return false
        },
        getNextManeuver: function () {
            if (this._guidance.className !== "GuidanceMockup") {
                return this._guidance.nextManeuver
            } else {
                return new Maneuver(this._guidance.getNextManeuver())
            }
        },

Lastly some proof http://www.youtube.com/watch?v=sKcRFteeJOg


If you feel brave enough and wish to experiment with this version, please back up the old ovi maps index.html file found in "/usr/share/nokia-maps/html" (rename it to something else) then copy the new "index.html" file into the folder. For the maneuver images, you'll need to put the new image I made into the "/usr/share/nokia-maps/html/pfw/images/spices/newroutesigns" folder (you'll need to make it, the zip file contains the full path for assistance).


Feedback is welcome :D


Update 25/12/2010
Added a new feature as requested by elie-7. The file is attached below. Be warned though, it shows ALL of the POI, so the screen might be a bit messy sometimes, especially in the city (as you can see in the picture :p). Also fixed a slight error (figured out firebug can do track the errors for me :D). A new image was created for this (which is looking terrible :p) so remember to copy that in too. In the future I will try make the POI more configurable, but I have a feeling it'll be a fair bit of work :(
Attachment 16526


p.s. If I shouldn't share Nokia's code, please delete this thread :)

Joseph.skb 2010-12-14 12:32

Re: Ovi Maps Extra Features
 
Do you have any plans on releasing this as the regular stuff? Sorry, I'm not too familiar with devel stuffs, but really interested in Ovi maps improvement/enhancement.

Blaizzen 2010-12-14 12:38

Re: Ovi Maps Extra Features
 
Only when I find something good to add. I actually did the maneuvers around when Pr1.3 was released, so I've been sitting on this for some time trying to make another feature, and I just today had enough time to get the tilt control working again. :)

Btw if anyone wants to have a play around with the code, its all just Javascript and like the description in my video says, the whole code runs in firefox on the desktop using the OVI maps plugin (http://maps.ovi.com/), which makes development and testing so much easier. I copied the whole Nokia-maps folder (from user/share)to my desktop and open the index.html file. If your playing around with the original index.html, a javascript beautifier is needed to make it easier to read.

couldvbb 2010-12-14 14:39

Re: Ovi Maps Extra Features
 
good http://www.wda.cn/data/attachment/fo...h7azxcxhyk.png http://www.wda.cn/data/attachment/fo...pz9hospogp.png

Hope to increase the red circle with the voice navigation feature
http://images.plurk.com/3986877_b76f...d4503ce627.jpg

sethkha 2010-12-14 15:05

Re: Ovi Maps Extra Features
 
is it possible to turn of the need for web access when searching?

elie-7 2010-12-14 15:21

Re: Ovi Maps Extra Features
 
yes man having an offline maps search would be just awesome, and by the way here is another idea, can you make the places show up on the maps all the time, kind of like ovi maps on e-series .

aanckar 2010-12-14 15:22

Re: Ovi Maps Extra Features
 
Quote:

Originally Posted by sethkha (Post 896643)
is it possible to turn of the need for web access when searching?

I've read somewhere on these forums that all the routing is done on Nokias servers, which is why an internet connection is required when searching.

manavs 2010-12-14 15:24

Re: Ovi Maps Extra Features
 
There is a file called findplaces.js under maplets. Maybe the javascript code can be tweaked to do an offline search.

sethkha 2010-12-14 15:28

Re: Ovi Maps Extra Features
 
Quote:

Originally Posted by aanckar (Post 896654)
I've read somewhere on these forums that all the routing is done on Nokias servers, which is why an internet connection is required when searching.

I've read, that other nokia phones have offline routing. Offline routing is no problem. Just the search. ( I'm quite sure, but have to test it once again)

rooster13 2010-12-14 21:02

Re: Ovi Maps Extra Features
 
Excellent mod dude!

It also restores the 3D view in night mode which was removed in PR1.3.
With this I may also change the tracking point to something bigger and better colouring.

Thank you!


All times are GMT. The time now is 14:58.

vBulletin® Version 3.8.8