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 8223549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:44:31+00:00 2026-06-07T14:44:31+00:00

I was searching from last 1-2 hours about this question but didn’t get any

  • 0

I was searching from last 1-2 hours about this question but didn’t get any answer if this question is posted before then please give me link and delete this one anyways,

I’ve a marker in my google map and its like mobile tower

I want to create 10 KM triangle of 120 degree on that marker click,

here’s the my code :

google.maps.event.addListener(marker2,"click",function(e){
                    var myLatLng = e.latLng;
                    var Tlat = myLatLng.lat();
                    var Tlng = myLatLng.lng();
                    var Tlng2 = Tlng+(10*0.009);
                    var Tlng3 = Tlng-(10*0.009);
                    var Tlat2 = Tlat+30;
                    var Tlat3 = Tlat-30;

                    var triangleCoords = [
                        new google.maps.LatLng(Tlat2, Tlng2),
                        new google.maps.LatLng(Tlat, Tlng),
                        new google.maps.LatLng(Tlat3, Tlng3)
                      ];
                      alert(triangleCoords);
                        Triangle = new google.maps.Polygon({
                        paths: triangleCoords,
                        strokeColor: "#FF0000",
                        strokeOpacity: 0.8,
                        strokeWeight: 3,
                        fillColor: "#FF0000",
                        fillOpacity: 0.35
                      });
                        Triangle.setMap(map);

My current lat-long is 23.061389, 76.37222199999997 I don’t know 10*0.009 is correct formula to find out km or adding 30 degree is correct or not

  • 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-06-07T14:44:32+00:00Added an answer on June 7, 2026 at 2:44 pm

    Follow the link

    http://www.birdtheme.org/useful/v3tool.html

    this will help you to draw any type of shape polygon, rectangle with source code on Google Map V3.

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

Sidebar

Related Questions

From last 2 weeks I am searching for an answer but not getting a
So I hate to ask this but the last 10 hours of searching and
I've been searching the web (and S.O.) for a while before asking this question.
From searching I can see this has been asked time and time again, but
I have spent last couple of hours searching for answers here but nothing seems
Following on from my last question Sql Server query performance , and discovering that
From the last 2 days I am searching that how to parse XML with
I'm already searching for 2 hours now, and still haven't found an answer to
I have tried searching for a soln to this but have been unable yet
I am trying to get results from a MySQL database by searching multiple terms

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.