Maps Examples
Find an example that can help you integrate your own solution.
Display a Map
Initialize an S2 Maps GPU Object.
Effort:
S2 JSON
Import S2JSON into Your Project.
Effort:
Heatmap
Use heatmaps in your project.
Effort:
Interactive Glyphs
Use interactive glyph objects.
Effort:
Invert a Layer
Invert a polygon/fill type layer.
Effort:
Points for Land
Land as points example.
Effort:
Moon Data
Use a collection of moon datasets.
Effort:
Range Based Dataset
Properly display size and color using data-conditions.
Effort:
Raster
Use raster data.
Effort:
Tissots
Visualize tissots indicatrix on the S2 Maps GL engine.
Effort:
Interactive Analytics
Interact with the map to see which countries have visted your site.
Effort:
Cloudflare Nodes
Interact with active nodes for more information.
Effort:
Use a Sprite Sheet
Apply an image instead of MTSDF for a glyph icon.
Effort:
Use GeoJSON data
Draw geojson data to the screen
Effort:
Clustering Points
Given point data, merge points for each zoom.
Effort:
Pattern
Utilize an image as a fill pattern.
Effort:
Invert Pattern
Utilize an image as a fill pattern but inverted.
Effort:
RGB Raster Hillshade
Use any DEM raster to create a hillshade effect.
Effort:
Glyph Substitution Cases
Handle various/complex unicode cases.
Effort:
Set a Marker
Utilize internal marker API to add and remove markers.
Effort:
Access Nested Properties
Learn to access values nested in the object.
Effort:
Use a Maplibre Style via a Plugin
Convert a Maplibre style to an S2 style.
Effort:
Glyphs along a Path
Draw Glyphs along Lines or Polygons
Effort: