[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

[Azure Websites PHP] Cross Domain request results in blank response page after Preflight HTTP OPTIONS

[Magento] Create Contact Form with Dynamic Recipient