New Google Mapplet release: GPS Location

February 12, 2009

I just released a new Google Mapplet, I’m calling “GPS Location“. [Click on the "GPS Location" link to add it to your Google maps as a "My Maps" tool.]

I was inspired to write this by using Thomas Duebendorfer’s “Position Finder” Google Mapplet: I’ve been using it for several months, but have been frustrated with its limitations, and how much I have to “futz” with its output to get suitable results. So I wrote my own.

What makes my GPS Location Mapplet better than Position Finder is…

  • I round the latitude and longitude values to a reasonable number of decimal places, given the current zoom level. It was just annoying the heck out of me when Position Finder gave me coordinates that were 8 to 10 orders of magnitude more precise than the maximum resolution one can legally get in public satellite maps. I was always rounding the results by hand.
  • GPS Location supports multiple points on the map simultaneously. And you can move them.

I’m still trying to figure out how to jsUnit test my little GPS Location Mapplet — both integration tests within Google Maps, and Test Driven Development (TDD) code writing with mocks for the Google Map APIs. But those are stories to be implemented another day.


Follow

Get every new post delivered to your Inbox.