[Google Maps v3] Get Rectangle area with computeArea

Been searching for ways to calculate rectangle area with google.maps.geometry.spherical.computeArea(), but hard to find.

Here's the snippet of the code I found on stackoverflow.



Hope this helps those who are looking for the ways to use computeArea() without resolving to ugly/complex self-created methods. :)

Comments

Popular posts from this blog

[Magento] Create Contact Form with Dynamic Recipient

bin/sh^M: bad interpreter: No such file or directory