Example of using the drag-and-drop interaction with image vector rendering.
Example of a Mapbox vector tiles map with custom tile grid.
Example of a Mapbox vector tiles map.
Example of measuring lengths and areas using vector styles.
Rendering vector tiles from an OGC API – Tiles service.
Using OpenStreetMap vector tiles.
Vector Clipping Layer example
Example of rendering vector data as an image layer.
Example of a countries vector layer with country information.
Example of hit detection on an ecoregions vector layer with protection status.
Slice GeoJSON into vector tiles on the fly in the browser.
Rendering a layer with a Mapbox-hosted style.
Label decluttering on polygons.
Example of GeoJSON features with labels.
Getting feature information from vector tiles.
Select features from vector tiles.
Example showing vector tiles in EPSG:4326 (styled using ol-mapbox-style)
Example of a map that delegates rendering to a worker.
Example of using an animated GIF as an icon.
Example of using an ArcGIS REST Feature Service with a Tile strategy.
Example of using ol/source/Cluster.
Demonstrates how to animate features.
Example of a custom circle render.
Example of a custom hit detection renderer.
Example of a custom interaction.
Showing the vertices of a polygon with a custom style geometry.
Example of using the ol/interaction/Draw interaction together with the ol/interaction/Modify interaction.
Example of using Draw and Modify interactions for geodesic circles.
Example of using the ol/interaction/Draw interaction.
Using the ol/interaction/Draw to create regular shapes
Clusters with zoom-to-cluster, hull view, and uncluttering of overlapping features.
Demonstrates the use of style geometries to render source features of a cluster.
Demonstrates the use of a heatmap layer.
Demonstrates the use of a Shape symbolizer to render earthquake locations.
Demonstrates the use of `toContext` to create custom icon symbols.
Example of using an ArcGIS REST Feature Service in an editing application.
Demonstrates how to animate flights with ´postrender´.
Example of a fractal.
Example using the ol/interaction/Draw interaction in freehand mode.
Example of GeoJSON features.
Example assigning a custom color to an icon
Example using a Modify interaction to edit an icon.
Canvas pixel operations on a point icon.
Example of scaling icons and labels.
Example using an icon to symbolize a point.
Example on how to use JSTS with OpenLayers.
Rendering KML with a vector source.
Example of drawing arrows for each line string segment.
Example of a Mapbox-gl-js layer integration.
Using a draw interaction to measure lengths and areas.
Editing features with the modify interaction.
Example for testing feature modification.
Example of using the OSM XML source.
Example of some Regular Shape styles.
Rich text labels.
Example of using the Modify interaction to scale and rotate geometries.
Example of using the Select interaction.
Example of selecting features by hovering.
Example of selecting multiple features.
Example of using the snap interaction together with draw and modify interactions.
Render street names.
Example of a style with a custom renderer.
Example showing a vector layer styled with a gradient.
Synthetic lines example.
Synthetic points example.
Demonstrates rendering timezones from KML.
Demonstrates rendering of features from a TopoJSON topology.
Example on how to use topolis with OpenLayers.
Example of setting up a draw interaction to easily snap to an existing feature.
Example of a translate features interaction.
Example on how to use turf.js with OpenLayers.
Example of using ol-mapbox-style with tiles from maptiler.com.
Example of using WFS with a BBOX strategy.
Example of making a WFS GetFeature request with a filter.
Example of using WFS with a Tile strategy.
Example of Wind Arrows styled using Regular Shapes.