No release in over a year
This gem decodes the protobuf parameters used in Google Maps into readable JSON for easy inspection and debugging.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

google-maps-pb-decoder

CI

Decodes the protobuf parameters used in Google Maps into readable JSON for easy inspection and debugging.

Installation

Add to your Gemfile:

gem 'google_maps_pb_decoder'

Then, run bundle install.

Or, install the gem directly:

gem install google_maps_pb_decoder

Usage

google_maps_pb_decoder <pb_encoded_string>

For example:

google_maps_pb_decoder '!3m1!4b1!4m6!3m5!1s0x80dcd7d12b3b5e6b:0x2ef62f8418225cfa!8m2!3d33.8120918!4d-117.9189742!16zL20vMDJmenM'

Output:

[[true], [["0x80dcd7d12b3b5e6b:0x2ef62f8418225cfa", [33.8120918, -117.9189742], "L20vMDJmenM"]]]

License

The gem is available as open source under the terms of the MIT License.