altf4
Posts: 1035
Joined: Mon Feb 04, 2008 8:05 pm
Location: Thailand
Contact: Website

map view... Vehicle name/Login

Thu Feb 14, 2008 11:49 am

is it possible to swap on the map the "Login" to "Vehicle name" ??
as the login is mostly someting unreadable or short value
but the vehicle name is the rel name or number plate wich is alot more useful

maybe someone can quickly tell me where i do have to change something ? ;-)

Cheers Mario



--
Backups are for WIMPS!

User avatar
johan
GpsGate
Posts: 14913
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: map view... Vehicle name/Login

Thu Feb 14, 2008 12:10 pm

Yes, this is a relevant request. We'll consider this for the next release of GpsGate Server

(I don't have a quick fix for you right now)

Regards,
Johan

Franson Support

altf4
Posts: 1035
Joined: Mon Feb 04, 2008 8:05 pm
Location: Thailand
Contact: Website

RE: map view... Vehicle name/Login

Mon Mar 24, 2008 6:31 am

i do have a fix ;-)

~/GpsGateOnlineScripts/GpsGate.VehicleTracker/vehicletrackermain.js

search for the function "getIconUrl"

in

Code: Select all

return "../BuddyTracker/ImageFactory.aspx?requestType=UsernameIcon&param="
+ gateUser.getUsername() + ',' + (state ? activeColor : defaultColor)
+ "&imageFormat=.png";
replace "gateUser.getUsername"
with "gateUser.getName"


(just try this randomly while change the display of the date (did work after the first try)) ;-)

--
Backups are for WIMPS!

Return to “GpsGate Server - How to setup and use”