• Hello everyone.

    I’m looking to create a coverage checker for my services.
    I need someone to enter their location and if that location falls within my coverage area, the services are displayed.

    Something like this -> [ redundant link removed ]

    I’ve been doing some research but I’m not really sure where to start here. Any guidance or ideas on how to get this done would be greatly appreciated.

    Thanks

    • This topic was modified 3 years, 10 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    The right approach depends on how your coverage area is defined. Assuming it is in the form of GIS polygons, the underlying data is a series of latitude/longitude coordinates. A user’s location can be queried from their mobile device. But to get a lat/long location based on address entry, you’ll want to make use of a geocoding service. Google provides one, there are others.

    There’s some algorithm to determine if a particular location lies within a polygon or not. I don’t know how it works though. A complex polygon that has “bays” and “peninsulas” can be particularly difficult to evaluate.

    OTOH, determining the distance between any two geographic points is relatively simple, but it still involves at least spherical geometry. Spherical calculations are still an approximation, but generally close enough for practical use. For full accuracy, complex ellipsoidal geometry is called for.

    Thread Starter marktrader

    (@marktrader)

    Hi @bcworkz, thanks for that quick response.
    Most of what you’ve said there is way above my current expertise, so I’m going to have to upskill myself a bit.

    I’ve found a few tricks I can use to get the same general result using some plugins, but I’m still customizing it. I’ll update this post when I’ve made decent headway.

    Thanks again for offering a starting point.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Searchable Coverage Checker Map’ is closed to new replies.