mapbox-maps-android icon indicating copy to clipboard operation
mapbox-maps-android copied to clipboard

Types of certain fields of the properties of a feature are not kept

Open belgianwaves opened this issue 2 years ago • 0 comments

Environment

  • Android OS version: all versions
  • Devices affected: all devices
  • Maps SDK Version: since 10.11.x

Observed behaviour and steps to reproduce

When i create a layer through a feature (fetched from server as json) certain fields of the properties of the feature are of type int. When i later click on that layer to query the feature those fields of the properties of type int have changed to doubles (for example "1" has changed to "1.0").

Expected behaviour

Offering features and later querying those feature should keep the type of the fields of the properties of a feature

Notes / preliminary analysis

Bug seems to be present starting from version 10.11.x, older versions don't have this behaviour, making us stuck on version 10.10.2

Additional links and references

belgianwaves avatar Oct 19 '23 09:10 belgianwaves