Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7533329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:41:52+00:00 2026-05-30T05:41:52+00:00

google maps geometry library provides a function: computeArea(loop:Array.|MVCArray., radius?:number) which seems can calculate the

  • 0

google maps geometry library provides a function:

computeArea(loop:Array.|MVCArray., radius?:number)

which seems can calculate the area of a circle by providing the radius, but no matter how I tried, it didn’t seem to work. Any help of how I can use the function?

BTW, fowllowing is a sample of calculating the area of a polygon:

    var nyc = new google.maps.LatLng(40.715, -74.002);
    var london = new google.maps.LatLng(51.506, -0.119);
    var rio = new google.maps.LatLng(-22.916, -43.251);
    var area = google.maps.geometry.spherical.computeArea([nyc, london, rio]);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T05:41:54+00:00Added an answer on May 30, 2026 at 5:41 am

    That is not the radius to calculate the area of a circle. This function only computes the area of a polygon. The radius parameter is the radius of the earth. The default value is 6378137 meters. If you want the area returned in km, ft, miles, etc you provide the earths radius in the desired unit.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The computeDistanceBetween() function in google maps geometry library will not return a value for
Google Maps Api has a google.maps.geometry.spherical.computeArea method. How can I write its equivalent in
I'm using the google.maps.geometry.spherical's computeDistanceBetween function to get the distance between two points on
Google maps in some region can serve traffic information showing the blocked roads and
Using the Google Maps API, how can I get the latitude and longitude of
I've installed the Google Maps Java 2 ME app on my Nokia N73 which
I have a google maps app which plots markers as it loads. One of
I have this code : <script src=http://maps.google.com/maps/api/js?sensor=false&libraries=geometry type=text/javascript></script> <script type=text/javascript> var VettoreIndirizziStruttura = new
var newloc_options = { zoom:15, center: results[0].geometry.location, mapTypeControl:false, mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel:false }; var newloc_map
$(function(){ //Location was set. Perform actions. $(#geocodesubmit).click(function(){ var geocoder = new google.maps.Geocoder(); geocoder.geocode( {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.