Skip to content

mr1sunshine/tilejson-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tilejson-rs

This library is used to encode/decode the TileJson format as it described in TileJson spec 2.2.0

Usage

This library is very simple wrapper on top of serde. Examples are available here.

Usage is very simple:

Encoding

    let tilejson = TileJson::default();
    let json = encode(&tilejson);

Decoding

    let json = fs::read_to_string(&args[1]).unwrap();
    let tile = decode(&json);

About

The library to encode/decode TileJson 2.2.0 format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages