Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service Metadata fails when extents with NaN value appear #13

Open
raykendo opened this issue Mar 8, 2018 · 1 comment
Open

Service Metadata fails when extents with NaN value appear #13

raykendo opened this issue Mar 8, 2018 · 1 comment
Assignees
Labels

Comments

@raykendo
Copy link
Owner

raykendo commented Mar 8, 2018

ESRI Netherlands reported that Metadata display failed at a specific service. Upon inspection of the map service JSON, we discovered the extents had NaN values. JSON.parse choked on the NaN values, since there were no quotes around the text.
{ "xmin":NaN, "xmax":NaN, "ymin":NaN, "ymax":NaN, "spatialReference": {"wkid": 1234} }

@raykendo raykendo added the bug label Mar 8, 2018
@raykendo raykendo self-assigned this Mar 8, 2018
@raykendo
Copy link
Owner Author

raykendo commented Mar 8, 2018

This issue should be fixed in 1.2.6... hopefully. Will have to find a service to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant