maximn / google-maps

Google Maps Web Services API wrapper for .NET
BSD 2-Clause "Simplified" License
191 stars 143 forks source link

StaticMapRequest: how to add "style"? #141

Open gikotim opened 4 years ago

gikotim commented 4 years ago

I want to add the result of Google Styling Wizard (json) to a StaticMapRequest. StaticMapRequest request = new StaticMapRequest(Markers, new ImageSize((int)ps.GetWidth(), (int)ps.GetHeight())) { MapType = MapType.Hybrid, ApiKey = "xxx", Style = ?????

Output from Styling Wizard (json): [ { "elementType": "geometry", "stylers": [ { "color": "#f5f5f5" } ] }, { "elementType": "labels.icon", "stylers": [ { "visibility": "off" } ] },