Store Locator Plugin Guide

Are My Marker Coordinates Correct or Not? How to Validate them?

To validate your coordinates first of all make sure that the latitude and longitude values are not "NULL" in the stores' table, you can view it in WordPress Admin Panel Manage Stores.

 

Image of Agile Store Locator Manages Stores

If the values are not "null" then make sure the coordinates (Lat/Lng) are in the right range. Longitude is in the range -180 and +180, specifying coordinates west and east of the prime meridian, respectively. For reference, the equator has a latitude of 0°, the North pole has a latitude of 90° north (written 90° N or +90°), and the south pole has a latitude of -90°. So maximum and minimum values are as follows.

  • Latitude max/min +90 to -90
  • Longitude max/min +180 to -180

The precision of location can be made accurate by the decimal places, so if your coordinates have five to six decimal places, the accuracy will be pretty high.

Leave A Comment