-
Notifications
You must be signed in to change notification settings - Fork 381
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
.geojson file not supported with mac os #10081
Labels
BackportNeeded
Commits provided for an issue need to be backported to the milestone's stable branch
bug
Milestone
Comments
congchen1101
added a commit
to congchen1101/MapStore2
that referenced
this issue
Mar 19, 2024
FixBug .geojson file not supported in macos. - In macOS .geojson file will be identified as type of "application/geo+json". So in checkFileType and readFile functions, they will not go into MIME_LOOKUPS list to find the corresponding type. - Check first in MIME_LOOKUPS list and then the file.type will solve this problem. On behalf of DB Systel GmbH
12 tasks
12 tasks
tdipisa
added
the
BackportNeeded
Commits provided for an issue need to be backported to the milestone's stable branch
label
Apr 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
BackportNeeded
Commits provided for an issue need to be backported to the milestone's stable branch
bug
Description
With MacOS .geojson files will be identified as "application/geo+json" type. So the current code will not look for it in MIME_LOOKUP list.
How to reproduce
Expected Result
a modal which can configure the style for this geojson data should appear.
Current Result
file not supported message showed
Other useful information
The text was updated successfully, but these errors were encountered: