hex - The default is 50% if you pass a 24-bit color: 0x0000ff (50% opacity, blue) -


rendering polygon google static maps api url

the default 50% if pass 24-bit color: 0x0000ff (50% opacity, blue)

and make 100% shows:

0% opacity: path=color:0x0000ff00

straight link. question simple: how make 24bit color 100% transparent? if had #898989? or #e20fe8? or other random color?

as said in answer, , in documentation links to.

when 32-bit hex value specified, last 2 characters specify 8-bit alpha transparency value. value varies between 00 (completely transparent) , ff (completely opaque). note transparencies supported in paths, though not supported markers. (https://developers.google.com/maps/documentation/staticmaps/#pathstyles)

the last byte (two hex digits) indicates transparency in 1/255ths. when not given, defaults 50%.

so set color 100% opacity, add ff @ end.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -