Hello everyone,
We are currently facing an issue with reducing the size of an MMPK.
According to the documentation (https://developers.arcgis.com/web-map-specification/objects/uniqueValueRenderer/), the uniqueValueInfos[] property is deprecated and may be removed in the future. Our current .mmpk file contains both uniqueValueInfos[] and uniqueValueGroups[].
We attempted to remove uniqueValueInfos[], following the documentation, in order to reduce the size of the MMPK while preserving all symbology and data. However, when testing with ArcGIS Swift SDK versions 100.15 and 200.x, we found that removing uniqueValueInfos[] causes symbology to be lost and the data to appear altered.
The .mmpk was created using ArcGIS Pro 3.4.
Does anyone know whether a newer version (e.g., ArcGIS Pro 3.5) or a specific version combination is required to safely remove uniqueValueInfos[] without affecting symbology and data? Or could someone explain what the documentation means in this context?
Thanks!
Marvin
Solved! Go to Solution.
No unfortunately, uniqueValueGroups is not available in 300.0. (300.0 is now live btw)
Owen who responded above is aware of your need, and would plan accordingly.
Hello Marvin!
uniqueValueGroups is currently not supported for Native SDKs. Please try removing uniqueValueGroups instead of uniqueValueInfos to reduce the file size. uniqueValueGroups may be supported in the future releases.
Hey!
Thanks for your quick reply and that information! Do you already know if it will be supported in the new Swift 300.0 SDK version?
No unfortunately, uniqueValueGroups is not available in 300.0. (300.0 is now live btw)
Owen who responded above is aware of your need, and would plan accordingly.
Okay, thanks for that!