2

I followed the above tutorial (link) to make a sample app which will show markers depending upon the location coordinates for the objects(like a building) .I'm able to show my custom markers on the given location .But markers are floating around the location.How can fix my marker to show on the top of the building .?

Any suggestion or advice...

Thanks in advance!!!!!!

Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143
Sugan S
  • 1,782
  • 7
  • 25
  • 47

1 Answers1

0

Your problem is most likely due to sensor jitter. Gyroscopes usually don't provide an stable reading.

I suggest you do a rolling average of the values and also add thresholds for minimum variation.

shalafi
  • 3,926
  • 2
  • 23
  • 27