nan should be NaN

635
1
11-29-2012 07:33 AM
ChrisRiver
New Contributor III
As returned from a call to [AGSMapServiceInfo encodeToJSON]

tileInfo =             {
                cols = 0;
                dpi = 0;
                lods =                 (
                );
                origin =                 {
                    x = nan;
                    y = nan;
                };
                rows = 0;
                spatialReference =                 {
                };
            };


"nan" chokes NSJSONSerialization as it isn't a valid number. Should be "NaN".  is there a workaround or fix for this?  Right now I'm doing a replace, which is ugly.

Thanks!
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
Thanks for reporting. We'll look into this.

Regards,
Nimesh
0 Kudos