Add GeoJSON support for viewing Snippets

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Proposal

Add support for the following:

  1. GeoJSON support for viewing Snippets under Projects.
  2. GeoJSON support for viewing Snippets under Namespaces.

Use Case

I want to be able to embed a GeoJSON Snippet in a web site (e.g. GitLab Pages).

Background

#14134 (closed) added GeoJSON support for viewing files in a Project's Repository but not files in a Project's Snippets or a Namespace's Snippets.

GitHUB

Does render snippets (Gists) that are GeoJSON files.

  • https://gist.github.com/MatthewSteen/0a5888f35bf724150b48aaa06c48734c

GitLAB

Does not render Snippets that are GeoJSON files.

  • https://gitlab.com/-/snippets/3641952
Edited Jun 19, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading