WebGL-Map / glm-wasm

The primary repository for client side map rendering. This code can be written in any language but must be compiled to WebAssembly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Glm-wasm License: MIT

The primary repository for client side map rendering. This code can be written in any language but must be compiled to WebAssembly.

Prerequisites

Note: In order to build this project you will need the following installed. Some applications might also need to be on the system path.

Building

When building this project make sure to set the -DCMAKE_TOOLCHAIN_FILE CMake option to the Emscripten.cmake toolchain file.

Deploying

From: http://emscripten.org

To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.

In Apache, you can do this with:

AddType application/wasm .wasm

Also make sure that gzip is enabled:

AddOutputFilterByType DEFLATE application/wasm

About

The primary repository for client side map rendering. This code can be written in any language but must be compiled to WebAssembly.

License:MIT License


Languages

Language:C++ 98.4%Language:CMake 0.6%Language:Batchfile 0.6%Language:Shell 0.4%