Skip to content

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

License

Notifications You must be signed in to change notification settings

WebGL-Map/glm-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages