Skip to content

.geojson file not supported with mac os #10081

@congchen1101

Description

@congchen1101

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

  • use a mac os system
  • go into one map
  • click the import button(import a map file or vector data) from sidebar menu in the right side of the page
  • select one .geojson file to import

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

Screen Shot 2024-03-19 at 09 31 57 AM

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions