/protobuff-get-example

Example of URL creation with converting data to protobuff and base64

Primary LanguageJavaScriptMIT LicenseMIT

Protobuff get example

Example of URL creation with converting data to protobuff and base64

Source data:  { tiles: [ { x: 11, y: 22, zoom: 3 }, { x: 44, y: 55, zoom: 66 } ] }
Base64 string:  CgYICxAWGAMKBggsEDcYQg==
Decoded data:  { tiles: [ { x: 11, y: 22, zoom: 3 }, { x: 44, y: 55, zoom: 66 } ] }