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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T07:24:16+00:00 2026-05-21T07:24:16+00:00

I have a donations section on my website and I’m interested whether the following

  • 0

I have a donations section on my website and I’m interested whether the following feature is possible: I have a donors portion of the site where I’d like to incorporate a Google map which has pins placed in all the locations that donations came from–these locations dont have to be exact (IP address would work fine I think).

I was wondering whether making a Google map that displays donation activity in real-time is possible. If it requires actual data (city, state) it’s possible for me to gather that information, because the website is currently set-up in the following way: a user selects the amount they would like to donate, they click the paypal button, they submit their donation via paypal, get re-routed to a thank you page that asks for a name, city and state (this info is stored via mySQL). After the user provides this data and hits submit (on the thank you page), they are re-routed to the donors page… this is where i would like to have a google map with pins representing all the people who donated and the city where they are from. Also, because the data is loaded in a SQL db, would it be possible to load the map with all the pins based in this data, and still have it update with new data too (in real-time)? Finally, I’m using PHP–any conflicts with that?

If anyone can offer any pointers I’d be so thankful. I’m a bit of a novice when it comes to Google API, so I’m not sure of the capabilities. I also tried to look at their docs and forums, but did not find anything extremely helpful. I’m grateful for your time, and I thank you for any help!

Ivan

  • 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-21T07:24:17+00:00Added an answer on May 21, 2026 at 7:24 am

    The geolocation of the user’s browser can be retrieved using the W3C geolocation API. It’s pretty in-depth so if you’re not in for the reading I have included some prototype code I was playing with. It should show a marker with your current browser location.

    http://dev.w3.org/geo/api/spec-source.html

    You can store the longitude and latitude information into your database and later parse it and insert the markers into google maps with javascript.

        <html>
    <head>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <style type="text/css">
      html { height: 100% }
      body { height: 100%; margin: 0px; padding: 0px }
      #map_canvas { height: 100% }
    </style>
    <script type="text/javascript"
        src="http://maps.google.com/maps/api/js?sensor=true">
    </script>
    <script type="text/javascript">
      function initialize(location) {
        var latlng = new google.maps.LatLng(location.coords.latitude,location.coords.longitude);
        var myOptions = {
          zoom: 19,
          center: latlng,
          mapTypeId: google.maps.MapTypeId.ROADMAP
        };
        var map = new google.maps.Map(document.getElementById("map_canvas"),
            myOptions);
    var marker = new google.maps.Marker({
          position: latlng, 
          map: map, 
          title:"Hello World!"
      });   
      }
    
    </script>
    </head>
    <body onload="navigator.geolocation.getCurrentPosition(initialize);">
      <div id="map_canvas" style="width:100%; height:100%"></div>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a data frame with donations and names of donors. **donation** **Donor** 25.00
I have video durations stored in HH:MM:SS format. I'd like to display it as
Have just started using Google Chrome , and noticed in parts of our site,
Have you managed to get Aptana Studio debugging to work? I tried following this,
I have a donation form which users fill out and I would like to
My site have a number of different persons each representing different diseases. I made
Basically, I'm wondering if any of you have put together a for-profit e-commerce site
I have a client that needs SSL to protect online donations, but I have
I have a table Donations which has a CampaignID column that relates to the
I have data of this form: Category Source Amount Dues FTW $100 Donations ODP

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.