2021-12-09 18:10:48 +01:00
2021-12-09 16:24:27 +01:00
2021-12-09 16:53:49 +01:00
2021-12-09 12:28:30 +01:00
2021-12-09 17:11:32 +01:00
2021-12-09 18:10:48 +01:00
2021-12-09 16:53:21 +01:00
2021-12-09 15:06:40 +01:00
2021-12-09 16:30:57 +01:00
2021-12-09 16:24:27 +01:00
2021-11-28 20:30:12 +01:00
2021-12-08 18:12:38 +01:00
2021-12-09 15:06:40 +01:00
2021-12-09 16:24:27 +01:00

mapr

Logo

Native Maps for Web, Mobile and Linux
A map rendering library written in Rust.

Description

TODO

Features

  • None so far

Goals

  • Renders vector tiles.
  • Runs on:
    • Web via WebAssembly and WebGPU,
    • Linux (Xorg/Wayland) via Vulkan,
    • Android via OpenGL,
    • iOS via Metal.
  • Supports the TileJSON standard
  • Pimarily

Non-Goals

  • Rendering any kind of rasterized data

Building

Now, to clone the project:

git clone git@github.com/maxammann/mapr

and then build it for running on a desktop:

cargo build

Target: WebGPU

tools/build-web
cd web
python3 -m http.server

Target: WebGL

tools/build-web -g
cd web
python3 -m http.server

Running on Linux

Fuzz using three clients:

cargo run --bin mapr --

Testing

cargo test

Rust Setup

Install rustup.

The toolchain will be automatically downloaded when building this project. See ./rust-toolchain.toml for more details about the toolchain.

Documentation

This generates the documentation for this crate and opens the browser. This also includes the documentation of every dependency.

cargo doc --open

You can also view the up-to-date documentation here.

Description
Native Maps for Web, Mobile and Desktop
Readme 36 MiB
Languages
Rust 93.5%
TypeScript 1.7%
Just 1.6%
WGSL 1.1%
JavaScript 1%
Other 0.9%