-
-
Notifications
You must be signed in to change notification settings - Fork 8
Load custom vector tiles #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| string? string_arg = list.arg (); | ||
| if (string_arg != null) { | ||
| argument.add_string_element (string_arg); | ||
| continue; | ||
| } | ||
|
|
||
| int? int_arg = list.arg (); | ||
| if (int_arg != null) { | ||
| argument.add_int_element (int_arg); | ||
| continue; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really don't feel this works as expected. Maybe we should use GLib.Variant or GLib.Value for the type of each arg in va_list, check the type for each of them, and unpack from it and then use add_string_element or add_int_element?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this was in the example on valadoc but I agree it seems to be a point of failure
Co-authored-by: Ryo Nakano <[email protected]>
Custom map style using elementary palette colors: