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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:51:19+00:00 2026-05-29T09:51:19+00:00

I want to create a simple web app to find the nearest place from

  • 0

I want to create a simple web app to find the nearest place from a given position. What I want do is: taken my position through geolocation function in Google maps, find the nearest place in a map. A list of places to be considered is saved in a MySQL db. Every record has two fields: latitude and longitude. After parsing these two values I need to calculate the distance and obtain the nearest place. How can I use JavaScript and PHP to accomplish this?

  • 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-29T09:51:20+00:00Added an answer on May 29, 2026 at 9:51 am

    Sounds like you’re looking for this: Creating a Store Locator with PHP, MySQL & Google Maps.

    As a plus, you may want to find the nearest 50 elements and then use the Distance Matrix Service to see how far they are in practice (by driving/walking) to cut down those inital 50 nearest places to those that are the nearest in practice.

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

Sidebar

Related Questions

I want to create a simple web app that will have a connection from
I want to create a very simple python web app. I don't need Django
I want to create an extremely simple web server for development purposes in Ruby
help out a noob with a simple web development question?? I want to create
I want to create a simple transaction on my Web Site where after the
I have got a simple web app in development, i want to establish a
I'm using FuelPHP to create a simple web app with a photo gallery. All
I'm trying to create a simple web filtering app in python. The way I
I want to create an authorization filter for my web app(To be able to
I want to create gallery application which would get thumbnails and metadata from web

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.