Help Needed with Google Maps Draw Search Code

This project was successfully completed by AlexYes for $55 USD in 2 days.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Completed In
2 days
Total Bids
Project Description

We are developing a draw search feature on our property website, similar to [url removed, login to view]

This draw search feature allows a user to draw a defined area on a map, and properties available within that defined area will show in the search results.

99% of the work has been done. We have the map returning the coordinates (lat/lon) when the user selects an area and we have the lat/lon coordinates of every property in our database.

However we need help with one line for sql query which will match the coordinates with the relevant properties. We really just need one line of code………just now we have $Contains = "AND Contains(GeomFromText('POLYGON((".$coords."))'),GeomFromText(property_latitude,property_longitude))"; which does not appear to be working.

Urgent turnaround required on this.

Completed by:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online