• Khaled Hakim

    (@khaledhakimgmailcom)


    Hello. I’m looking to see if there’s an easy way to use one of the different styled maps (themes) available from Google Maps API – found here… https://mapstyle.withgoogle.com/

    Ideally I’d like a way to learn how I can add any of those default themes provided by Google.

    Can anyone shed light on how this can be gone about?

Viewing 1 replies (of 1 total)
  • The quick way is to edit the plugin ‘function.js’ line 82, insert a comma after

    'streetViewControl' : bgmpData.options.streetviewControl

    and insert from line 83

    'styles' : <copy and paste content of JSON here>

    Other option is to add a new bgmpOption such as ‘style’ with a textarea on the settings tab and use the content in the function.js.

    Both solution wil be lost on plugin upgrade…

Viewing 1 replies (of 1 total)
  • The topic ‘Using water theme’ is closed to new replies.