Adjust Latitude and Longitude Values

The valid longitude range is from -180 to 180 and the valid latitude
range is from -90 to 90. Thus, I added conditionals to make any value
outside of this range within the valid range.

Test: None
Bug: 288195822
Change-Id: I21f020f71937c4f6ab48020ff899cf8946b863c8
4 files changed