maps icon indicating copy to clipboard operation
maps copied to clipboard

Cannot change icon image based on points attributes. CRASHES without trace

Open SethTyemill opened this issue 7 years ago • 4 comments

Describe the bug image I am attempting to change the Icon on my symbol layer based on attributes from my points. I am unable to do this because it results in a crash every time. I was able to do this successfully changing the text color.

Versions (please complete the following information):

  • Platfrom: IOS
  • Device: IPhone X
  • React Native Version: Current

SethTyemill avatar Sep 06 '19 19:09 SethTyemill

Connect Xcode debugger and show log output.

kristfal avatar Sep 06 '19 21:09 kristfal

image Here is the output I received. I see that it is erroring because I am passing in a number for the image since that is how react handles preloading image locations.

SethTyemill avatar Sep 06 '19 22:09 SethTyemill

And if I toString() the image, the application will run but no icons appear and the points are invisible to the user

SethTyemill avatar Sep 06 '19 22:09 SethTyemill

@SethTyemill see #358

mfazekas avatar Sep 07 '19 09:09 mfazekas