Hi all,

I able to detect user current location on google map, but i need to show speed of user travelling. Any idea how to detect it? I can give u my code if u wan.

Thanks.

Recommended Answers

All 3 Replies

you can try a simple calculation for speed.

(point2 - point1)/deltaTime

point2 : the point that use currently on.
point1 : the point that calculation will start
deltaTime : the time for accessing from point2 to point1

Got it~ thx for reply =)

i used getSpeed() from the lib.

Thanx for sharing KadajXII

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.