We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to support multiple style parameters for the static map API?
A JS object cannot have multiple keys with the same name.
https://developers.google.com/maps/documentation/static-maps/styling#style-syntax
const query = { center: `${this.props.location}`, zoom: "15", scale: "2", size: "640x320", maptype: "terrain", format: "png", visual_refresh: "true", markers: "scale%3A2%7Cshadow%3Atrue%7C${this.props.location}", style: "feature%3Awater%7Ccolor%3A0x9bcae1%7Cvisibility%3Aon", style: "feature%3Aroad%7Cvisibility%3Aon%7Csaturation%3A-100%7Clightness%3A0", style: "feature%3Alandscape%7Cvisibility%3Aon%7Ccolor%3A0xe6e1d7", style: "feature%3Aroad.highway%7Cvisibility%3Asimplified", key: `${AppConfig.GOOGLE_API_KEY}` };
The text was updated successfully, but these errors were encountered:
@temsa any update on this? :)
Sorry, something went wrong.
No branches or pull requests
Is there a way to support multiple style parameters for the static map API?
A JS object cannot have multiple keys with the same name.
https://developers.google.com/maps/documentation/static-maps/styling#style-syntax
The text was updated successfully, but these errors were encountered: