title: How to compress URL parameters as Google Map by JavaScript?
body: <p>How to compress URL parameters as <code>data=!3m1!4b1!4m2!3m1!1s0x808fcae48af93ff5:0xb99d8c0aca9f717b</code></p>
  
  <p><a href="https://www.google.com/maps/place/San+Jose,+CA/@37.2970156,-121.8174129,11z/data=!3m1!4b1!4m2!3m1!1s0x808fcae48af93ff5:0xb99d8c0aca9f717b" rel="nofollow noreferrer">https://www.google.com/maps/place/San+Jose,+CA/@37.2970156,-121.8174129,11z/data=!3m1!4b1!4m2!3m1!1s0x808fcae48af93ff5:0xb99d8c0aca9f717b</a></p>
  
  <p>I tried atob and btoa, crypto-js but the result URL is too long.
  <a href="https://stackoverflow.com/questions/19819407/how-to-encrypt-decrypt-url-parameters-in-javascript">How to encrypt/decrypt URL parameters in javascript?</a>
  <a href="https://code.google.com/p/crypto-js/" rel="nofollow noreferrer">https://code.google.com/p/crypto-js/</a></p>