string de consulta js do objeto
const params = {lat: 35.681236, lng: 139.767125, zoom: 15};
new URLSearchParams(params).toString();
// "lat=35.681236&lng=139.767125&zoom=15"
// OR
const queryString = Object.keys(params).map(key => {
encodeURIComponent(key) + '=' + encodeURIComponent(params[key])
}).join('&');
Jeff Le