| Crates.io | bevy_geo_tiles |
| lib.rs | bevy_geo_tiles |
| version | 0.1.1 |
| created_at | 2025-11-28 17:44:53.239622+00 |
| updated_at | 2025-11-29 13:30:29.286631+00 |
| description | Bevy plugin for displaying slippy-map tiles like OpenStreetMap raster tiles. |
| homepage | |
| repository | https://github.com/Moritz-Schmidt/bevy_geo_tiles |
| max_upload_size | |
| id | 1955793 |
| size | 272,825 |
Open street map (or any other slippy map / TMS tile source) integration for Bevy.
This project is work in progress. Expect breaking changes, incomplete features and bugs.
bevy_pancam - Use bevy_pancam for camera controls instead of the minimalistic built-in controls.shapes - Enable drawing polylines and polygons using lyon.debug_draw - Enable displaying Bevy, Web-Mercator and WGS84 coordinates at the mouse cursor for debugging purposes.Add the crate to Cargo.toml and register the [MapPlugin] alongside Bevy’s default plugins:
use bevy::prelude::*;
use bevy_geo_tiles::MapPlugin;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(MapPlugin::default())
.run();
}
For more examples, see the examples folder.
DVec2/DVec3 in meters relative to the Web Mercator map projection.Vec2/Vec3).The [LocalOrigin] resource tracks the current offset between the two and recenters automatically when the camera drifts too far from the origin.
See [MapPlugin] for configuration options, including tile server customization and cache settings.
| bevy | bevy_geo_tiles |
|---|---|
| 0.17 | 0.1 |
This project is dual-licensed:
Contributions are welcome! Please open issues or pull requests on the GitHub repository.