Geography
Last updated
Last updated
Geography Data Types are special cases in the Database which allow you to store geographical data based on the different characteristics. When you are adding content to one of these columns a different interface will show up. There will be a map that you can manipulate to find exactly what you need and make the shapes that are useful to your app. An example of this can be a polygon around a certain area that acts like an invisible fence that your users can trigger when they enter it with your app.
Features of the map: 1. Search Box: you search for any address in this input field. 2. Clear: this clears all items that were created on the map. 3. Add: this creates a new item on the map, depending on the selected type you can have only 1 item or multiple items. 4. Save: this saves the added item(s). 5. + (zoom in): this gives a more magnified view of the map for more specific locations. 6. - (zoom out): this gives a bigger picture view of the map to draw broader items.
Point of Lat/Long coordinates. This allows you to put a single point on the map. This point is then converted into the relative Latitude and Longitude coordinates. You can click on the point and drag it to where you want it to go.
JSON Data Format:
Collection of points.
JSON Data Format:
Path of Lat/Long coordinates. This creates a line using two connected points. By clicking on the line, you can drag it to where you want it. By clicking the ends of the line you can increase or decrease the distance between the two points.
JSON Data Format:
Collection of paths.
JSON Data Format:
Polygon of Lat/Long coordinates.
JSON Data Format:
Collection of polygons.
JSON Data Format: