slint-mapping 0.1.0

Map framework for Slint — interactive map component with tile rendering, panning, zooming, and marker overlays.
Documentation
Tile imagery in this directory is © OpenStreetMap contributors and
distributed under the Open Database License (ODbL).

  https://www.openstreetmap.org/copyright

Tiles were rendered by the OpenStreetMap Foundation's standard tile
server (https://tile.openstreetmap.org) and downloaded by
`scripts/download-osm-tiles.sh`. Any application that displays them
must show this attribution prominently.

The tiles here cover:

  - Zoom 0-3 globally (85 tiles) — whole world; the tiniest slippy-map
    subset that still covers every place on Earth.
  - Zoom 4-12 for Greater London (lon -0.5..0.3, lat 51.25..51.75;
    155 tiles) — enough resolution for street-level detail in the
    demos, which default to centring on London.

Shipped in the repo so demos work without network access. For a
different city or higher zoom, run the prefetch example:

    cargo run --example prefetch --features http -- \
        --dest sample-tiles --zoom 4-12 \
        -74.05 40.70 -73.90 40.80                    # Manhattan

Or use `slint_mapping::prefetch::region` directly from your own
setup tool — see `examples/prefetch.rs` for the wiring.

At runtime, point a `slint_mapping::sources::OsmTileSource` at a
`FileTileCache` and tiles get lazy-fetched in the background as the
camera pans into new regions; the cache fills up automatically.

Other free providers worth considering for your own bundles:

  - Stadia Maps         https://stadiamaps.com/  (free tier, attribution)
  - MapTiler            https://www.maptiler.com/ (free tier, attribution)
  - Wikimedia Maps      https://maps.wikimedia.org/ (CC-BY-SA)
  - OpenStreetMap.de    https://www.openstreetmap.de/karte.html  (German hosted OSM)
  - HOT OSM exports     https://export.hotosm.org/  (raw data, render yourself)
  - OpenMapTiles        https://openmaptiles.org/  (downloadable MBTiles)
  - Stamen / Stadia toner & terrain (CC-BY 3.0, attribution)

The OSM tile server's usage policy
(https://operations.osmfoundation.org/policies/tiles/) explicitly
forbids "heavy use" and bulk redistribution as a service. For
production traffic, use one of the paid providers above or self-host
via tilemaker / TileServer GL.