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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:47:18+00:00 2026-06-08T13:47:18+00:00

Is there a way with Google Maps API, that I can find all red

  • 0

Is there a way with Google Maps API, that I can find all red balloon points (addresses pinned on my google map) within a given radius (in miles) of a certain zip code?

For example…

  • The first input box asks you for your zip code. Type it in.

  • The second input box (a section box with < options >) asks you for
    the radius in miles, 10 miles, 20 miles, 30 miles..etc

  • Then you click submit

  • Then the google map shows all the addresses (which were stored from a
    json file), on to the google map in red balloons.

Is there free learning material on the web that will help me to build something like this?

I’ve been reading google maps api stuff all morning and haven’t found any examples that can offer this.

Thanks!

  • 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-08T13:47:20+00:00Added an answer on June 8, 2026 at 1:47 pm

    Here are the two high-level steps you need to follow to implement this:

    1) You want to convert that zipcode (or an address in many different forms!) to a latitude and longitude coordinate using the Google Geocoder API.

    2) Dynamically create a GET request to a script that queries your database based on the distance the user entered (5 miles, 10 miles, etc.) like so:

    var searchUrl = 'phpsqlajax_search.php?lat=' + center.lat() + '&lng=' + center.lng() + '&radius=' + radius;
    

    Look at my answer to this related question so you can take user input and geocode the address: Store locatore, how to use/input my postion?

    The Google Maps API provides extensive documentation on finding the closest items in a database to a certain latitude and longitude coordinate. It can be found here: https://developers.google.com/maps/articles/phpsqlsearch_v3

    Note: The documentation uses PHP, Javascript, and MySQL.

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

Sidebar

Related Questions

Is there a way I can have a google maps control on a web
Is there any way I can use a KMZ file in Google Maps? My
Is there a way to plot a chart with Google chart API so that
I'm using the Google Maps Javascript API so that I can have someone put
Is there any way to get time-related information in directions from the Google Maps
Is there a sexy way to get a web page with Google Maps (in
Is there any way to use Google's API to retrieve a user's current zipcode
I've been using Google Maps Api for a while and I recently checked that
In the Google Maps API v3, the InfoWindow can be attached to an anchor
Is there a simple way to scroll a google map programmatically of x pixels?

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.