Closed freedmo closed 4 years ago
Here a screenshot with orange
under Android.
[Android]
If you don't specify alpha
, this plugin adds 75%
alpha automatically.
Please use rgba()
.
I made an output from the function HTMLColor2RGBA
from www/Common.js
.
Inside I set defaultOpacity = 1
.
[ng] [console.log]: "#ffa500FF"
[ng] [console.log]: 255
[ng] [console.log]: [255,165,0,255] 4
Result still the ugly orange
.
Where/How I would have to set alpha
?
Could it be a problem with GMSMarker
Google SDK and the function markerImageWithColor
?
This function isn't applying the color, it tones the marker only.
If you can read Objective-C, please debug it by yourself. I have been busy so far, and there is no enough time to debug this.
I'm submitting a ...
If you choose 'problem or bug report', please select OS:
cordova information:
If you use
@ionic-native/google-maps
, please tell the package.json (only@ionic-native/core
and@ionic-native/google-maps
are fine mostly)Current behavior: iOS render color of markers not like expected. Marked is without infomation as default set to
'fillColor': 'rgb(255, 0, 0)'
, but under iOS it isn't. Instead, color comes out with209, 63.56
. Onorange
asicon
,"icon": "orange"
, the default value of'orange': '#ffa500'
as rgb255,165,0
is154, 99, 28
under iOSExpected behavior: Color to be as with HEX/RGB as provided.
Screen capture or video record: [iOS]
edit: Added
package.json