Just like we changed the styles of our markers before, we can change the colors of shapes.
Instructor: [0:00] We have our circles working, but what if we wanted to change the color? Since our circle is inherited from path, we can use all these options to change the color of our circle.
[0:07] On our options object I'm going to specify another property of color, which I'm going to set to blue-violet. If I look at the map and hover over marker, I can see my new color.
Member comments are a way for members to communicate, interact, and ask questions about a lesson.
The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io
Be on-Topic
Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.
Avoid meta-discussion
Code Problems?
Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context
Details and Context
Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!