Explore Galileo map examples
mainThe galileo repository includes several examples demonstrating different mapping capabilities:
Tile Layers
- raster_tiles: Create a map with a single raster tile layer (e.g., OSM) and set initial position/zoom.
- vector_tiles: Create a map with a vector tile layer (MapLibre), configure styling via a style file, and inspect objects on click.
Feature Layers & Styling
- feature_layers: Create maps without a base map using feature layers. Supports advanced styling via symbols based on properties, hover effects to change properties, and click interactions to show/hide features.
- georust: Load features as
geo-typesgeometries using thegeo-zerocrate and display them with pin images. - highlight_features: Demonstrate getting/updating features on hover and changing pin images based on feature state.
- linestring: Render a
LineStringfrom a GeoJSONFeatureCollectionas aContourin aFeatureLayer.
Specialized Rendering & Data
- lambert: Render feature layers using the Lambert Equal Area projection with hover interactions.
- many_points: Render approximately 3,000,000 3D points over a map.
- las: Read and render approximately 19,000,000 points from a LAS (LiDAR) dataset. Requires loading the dataset manually as described in the example module docs; run in
--releasemode. - render_to_file: Run a map without a window, load a GeoJSON file into a feature layer, and render the output to a
.pngfile.
UI Integration
- with_egui: A version of the raster tiles example that includes support for the egui library.