Tagged articles
4 articles
Page 1 of 1
The Dominant Programmer
The Dominant Programmer
Dec 15, 2021 · Frontend Development

Interactive Polygon Drawing and Area Calculation with Vue and OpenLayers

This tutorial shows how to import the required OpenLayers modules into a Vue project, configure a map, add a Polygon draw interaction, handle the drawend event to compute and format the polygon's area using OpenLayers' getArea function, and provides a complete working example with code.

Area calculationDraw interactionJavaScript
0 likes · 7 min read
Interactive Polygon Drawing and Area Calculation with Vue and OpenLayers
21CTO
21CTO
Aug 19, 2020 · Databases

How to Use MySQL Polygon Types for Precise Location Check‑In

This tutorial explains how to obtain geographic coordinates, store them as MySQL POLYGON types following OGC standards, insert campus area data, and query with spatial functions and SPATIAL indexes to determine whether a user is within a defined check‑in region.

GISPolygonSQL
0 likes · 7 min read
How to Use MySQL Polygon Types for Precise Location Check‑In