Community
Forma Developer Forum
Welcome to Autodesk Forma Developer Forum. Share your knowledge, ask questions, and explore popular Forma API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can I give a color to a created geoson?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
iklimis
220 Views, 2 Replies

Can I give a color to a created geoson?

Hello Forma Team,

Could I possibly give color to a geojson that I manually created and added to the Element Hierarchy?
 Now it is grayish by default 


bellow is the code that i used to create the geojson

iklimis_0-1709648887905.png

Thanks!

Tags (1)
Labels (1)
2 REPLIES 2
Message 2 of 3
md_amjad_hossain
in reply to: iklimis

Hei @iklimis,

Yes, you can color your polygon!!

properties: {
  "fill": "#ff0000",
  "fill-opacity": 0.5,
}

 Hope, this will help.

Thanks



Md Amjad Hossain
Software Development Engineer
Message 3 of 3
iklimis
in reply to: iklimis

@md_amjad_hossain 
Awesome!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums