You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
MGLGeoJSONSource’s data property should be of type NSData, not NSString. NSData is the type that NSJSONSerialization traffics in, probably because it’s more efficient to scan a data blob than a UTF-16 string.
MGLGeoJSONSource can now be initialized with GeoJSON data. Replaced the data property with a geoJSONData property and added features and URL properties alongside it. Each property may be set or unset based on how the object was initialized.
Fixes#5965, fixes#5966.
MGLGeoJSONSource’s
data
property should be of type NSData, not NSString. NSData is the type that NSJSONSerialization traffics in, probably because it’s more efficient to scan a data blob than a UTF-16 string./cc @frederoni
The text was updated successfully, but these errors were encountered: