OpenLayers example
✓ Published0🌍 Public
TThomasG77
Last edited Jun 18, 2021
Created on Jun 18, 2021
This example shows a map centered on a location in Africa, with a single polygon feature overlaid on a tiled OpenStreetMap basemap. The map is created with OpenLayers, using its `ol.Map`, `ol.layer.Tile`, and `ol.source.OSM` components. The polygon’s coordinates are then parsed from OpenLayers’ geometry format into a JTS geometry object using the `jsts.io.OL3Parser`, with the resulting coordinate list printed to the console for inspection.
AI-generated description