Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Cast round json element properties to int64_t instead of the uint64_t #13882

Closed
wants to merge 1 commit into from

Conversation

LukasPaczos
Copy link
Contributor

Closes #13881.

I was only able to come up with an Android regression test of the exact issue from #13881. I still don't exactly understand the particular rendering problem, so I'd love some more clarity if anyone has ideas of what is going wrong here.

@LukasPaczos LukasPaczos added the Android Mapbox Maps SDK for Android label Feb 6, 2019
@LukasPaczos LukasPaczos added this to the release-k milestone Feb 6, 2019
@LukasPaczos LukasPaczos force-pushed the lp-13881-negative-conversion branch from 9446c82 to 8cb99d4 Compare February 6, 2019 11:59
@@ -166,7 +166,7 @@ RenderGeoJSONSource::queryFeatureExtensions(const Feature& feature,
return {};
}

const auto clusterID = getProperty<uint64_t>(feature.properties, "cluster_id");
const auto clusterID = getProperty<int64_t>(feature.properties, "cluster_id");
Copy link
Member

Choose a reason for hiding this comment

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

tobrun added a commit that referenced this pull request Feb 7, 2019
tobrun added a commit that referenced this pull request Feb 7, 2019
tobrun added a commit that referenced this pull request Feb 7, 2019
@LukasPaczos LukasPaczos removed this from the release-kombucha milestone Feb 7, 2019
@LukasPaczos
Copy link
Contributor Author

Closing in favor of #13888.

@LukasPaczos LukasPaczos closed this Feb 7, 2019
@LukasPaczos LukasPaczos deleted the lp-13881-negative-conversion branch February 7, 2019 14:45
tobrun added a commit that referenced this pull request Feb 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants