Skip to content

Allow custom placeholder image and use transparent_image for default#37

Merged
johnpryan merged 1 commit intofleaflet:masterfrom
nbspou:patch/placeholder-image
May 11, 2018
Merged

Allow custom placeholder image and use transparent_image for default#37
johnpryan merged 1 commit intofleaflet:masterfrom
nbspou:patch/placeholder-image

Conversation

@kaetemi
Copy link
Copy Markdown
Contributor

@kaetemi kaetemi commented May 11, 2018

This fixes continuous exceptions caused by the previous default MemoryImage being initialized with new Uint8List(0)

I/flutter (10904): Another exception was thrown: Exception: operation failed
E/flutter (10904): [ERROR:flutter/lib/ui/painting/codec.cc(83)] InitCodec failed - buffer was empty
I/chatty  (10904): uid=10093(net.nbspou.infapp) 1.io identical 17 lines
E/flutter (10904): [ERROR:flutter/lib/ui/painting/codec.cc(83)] InitCodec failed - buffer was empty
I/flutter (10904): Another exception was thrown: Exception: operation failed

@kaetemi
Copy link
Copy Markdown
Contributor Author

kaetemi commented May 11, 2018

Fixes #22

Copy link
Copy Markdown
Collaborator

@johnpryan johnpryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

groovy, thanks!

@johnpryan johnpryan merged commit 72fc70d into fleaflet:master May 11, 2018
@kaetemi
Copy link
Copy Markdown
Contributor Author

kaetemi commented May 13, 2018

Thanks for the great mapping widget too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants