8000 StaticMapRequest: how to add "style"? · Issue #141 · maximn/google-maps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
StaticMapRequest: how to add "style"? #141
Open
@gikotim

Description

@gikotim

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" } ] },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0