View Single Post
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#9
Originally Posted by les_garten View Post
Hi,
Can you include instructions in your Zip file?

Also can you include the mod'd js file for the orientation fix? I never got that patch stuff to work from the "spins" thread, and it was my thread!

Ohh, and your Blue theme looks a Ton better BTW!
Thanks

I've uploaded what I hope is a version of the nokia.maps.js that will allow it to always stay North, but only when the red marker is moving on a route. I didn't want to set it always North incase you wanted to rotate the map later on for any reason. I sadly can't test it properly since its past 1am here and walking around the home didn't change the GPS position. I'll try have a better test tomorrow. If you want to try play around with the file, the section you need to fiddle with is this (with the section i added in bold, just 0*)
Code:
{if(typeof aPosition.orientation=="string"){orientation=this._ROTATIONS[aPosition.orientation]}else{orientation=0*(aPosition.orientation+360)%360}
Changing the orientation to always 0 in both areas (if true and else) will cause it to never rotate including using the rotate disc thingy.

Last edited by Blaizzen; 2010-04-14 at 13:04.
 

The Following User Says Thank You to Blaizzen For This Useful Post: