Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7753819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T12:08:57+00:00 2026-06-01T12:08:57+00:00

im trying to apply this JSON code to my Google Map: [ { stylers:

  • 0

im trying to apply this JSON code to my Google Map:

[ { stylers: [ { hue: "#ff0000" } ] } ]

generated from this website:

That is actually made by Google, the problem is that i dont know enought about JSON to know how i apply this code and i cant find any examples using this kind of code.

Grateful for any tips or answers! 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T12:08:58+00:00Added an answer on June 1, 2026 at 12:08 pm

    Yeah, I think it’s not so obvious. It doesn’t help that in #9 of the Wizard, they write “style” when it should be “styles”.

    In the Hello World example ( https://developers.google.com/maps/documentation/javascript/tutorial ), change the myOptions, adding the comma after mapTypeId, then the option “styles: ” and paste the JSON.

      function initialize() {
        var myOptions = {
          center: new google.maps.LatLng(-34.397, 150.644),
          zoom: 8,
          mapTypeId: google.maps.MapTypeId.ROADMAP,
          styles: [ { stylers: [ { hue: "#ff0000" } ] } ]
        };
        var map = new google.maps.Map(document.getElementById("map_canvas"),
            myOptions);
      }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get the screenshotUrls string from this piece of json: $request_url =
I was trying to apply this little code on my codeigniter page to see
I'm trying to use a yui plugin that pulls from a json file and
I am trying to apply this sticky footer pattern to my template: http://ryanfait.com/sticky-footer/ But
I'm trying to apply this tutorial to my project, but I don't get it
Im trying to create a 'jsTree' treeview that gets it's data from a .Net
I've got an object which was deserialized from JSON. It looks like this, introspected
Ok, I'm having trouble finding an answer to this that isn't just use JSON
I am trying to extend the Bitmap class so that I can apply my
I'm trying to create a for() loop with JSON data that's already been decoded,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.