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

  • Home
  • SEARCH
  • 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 6863105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:44:30+00:00 2026-05-27T02:44:30+00:00

Im developing an webapplication using asp.NET C#. I am currently using this map controller.

  • 0

Im developing an webapplication using asp.NET C#. I am currently using this map controller. http://googlemap.artembg.com/
What i want to do is that i want to make it possible for the user to click on the map and a marker should be seen exactly where the user clicked and a radius circle around that area, and it should be possible for the user to change the radius. I’ve search everywhere for some samples of this in ASP.Net c# but i can’t find it. I want something like this: http://www.freemaptools.com/radius-around-point.htm

Any suggestions?

  • 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-27T02:44:31+00:00Added an answer on May 27, 2026 at 2:44 am

    Maybe to help you get started you can find this javascript code useful, then try to adapt it to whatever the C# control provides.

    var map;
    var marker;
    
    function initialize() {
        var optns = {
            zoom: 6,
            center: latlng,
            mapTypeId: google.maps.MapTypeId.HYBRID
        }
        map = new google.maps.Map(document.getElementById("myMap"), optns);
        google.maps.event.addListener(map, 'click', function(event) {
            setCurrentLocation(event.latLng, 10);
        });
    }
    
    function setCurrentLocation(location, crcl_radius){
        if(marker)
            marker.setMap(null);
    
        var opts = {
            map: map,
            position: location,
            clickable:false
        };
        marker = new google.maps.Marker(opts);
    
        var circle = new google.maps.Circle({
                map: map,
                radius: crcl_radius,
                fillColor:'#efefef',
                fillOpacity:0.5,
                strokeColor:'#ff0000',
                strokeWeight:2
        });
       circle.bindTo('center', marker, 'position');
    }
    

    The code above creates a circle with radius of 10 whenever you click on the map. You can take it from there and try to adapt it to your needs.

    The above assumes you have a div with an id of myMap where your map will be shown.

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

Sidebar

Related Questions

I'm developing an ASP.NET forms webapplication using C#. I have a method which creates
I am developing web application using asp.net, but i want to work on asp
Currently developing an ASP.NET WebApplication with VS2008. I stopped development for a few weeks,
I'm developing a web application using asp.net 3.5. This application has a lot of
I am developing a webapplication using asp.net mvc 3. In the solution I have
I'm developing a web application using ASP .NET MVC 1.0 and jQuery (including the
I'm developing a web application using asp.net Mvc 2 and NHibernate, and I'm paging
I'm developing an web application using asp.net mvc, and i need to do a
I am developing a web application using asp.net mvc... I am listing out the
We are developing a web application using asp.net and sql server. We are required

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.