Google Maps and Polygons — Pool Calculator Example
I was playing around with an idea for an application. I was interested in engaging customer input. I came up with this as interesting concept. It’s an online calculator to determine the volume of water in a swimming pool. The user types in an address, then creates a polygon that surrounds the pool. Add an average depth and its an easy determination to obtain the volume of the pool in gallons.
And if you are a pool supply company, this one’s for sale to you, cheap. Contact us from here…
A couple of notes:
- It’s been a long while since I’ve looked at Google Mapping applications. I was pleasantly surprised to see the costs for these services VERY reasonable. Google has clearly adjusted pricing downward in the past few years. Kudos to them!
- I set this up for US only. Obviously that can be enhanced.
- The other surprise is the Google GeoLocator API key is available for server use only. You’d have to write a REST API server to perform the lookup correctly. I’m currently running a client API key, authorized for this domain only. This works temporarily but it’s really a hack.