Skip to content

Remove remaining Mapbox-specific code and migrate to Maplibre implementation#7041

Merged
ramyaragupathy merged 9 commits intodevelopfrom
fix/6992-remove-leftover-mapbox-specific-conditions
Nov 20, 2025
Merged

Remove remaining Mapbox-specific code and migrate to Maplibre implementation#7041
ramyaragupathy merged 9 commits intodevelopfrom
fix/6992-remove-leftover-mapbox-specific-conditions

Conversation

@suzit-10
Copy link
Copy Markdown
Contributor

@suzit-10 suzit-10 commented Sep 23, 2025

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation
  • 🧑‍💻 Refactor
  • ✅ Test
  • 🤖 Build or CI
  • ❓ Other (please specify)

Related Issue

Describe this PR

This PR finalizes the migration from Mapbox GL to Maplibre GL by removing all remaining Mapbox-specific code and dependencies. It also updates related mapping functionalities to ensure compatibility with Maplibre.

Changes

  • Removed all checks related to Mapbox access token availability.
  • Dropped Mapbox-specific style rendering and configuration.
  • Removed all Mapbox GL–specific logic, conditions, and imports across the codebase.
  • Replaced mapbox-gl-draw with maplibre-terra-draw for drawing and editing map features.
  • Removed mapbox-gl-language since Maplibre does not support Mapbox style–based language features.
  • Removed mapbox-gl-draw-rectangle-mode dependency, as rectangle drawing is now handled natively by Terra Draw.
  • Updated map initialization and configuration to use Maplibre GL styles and APIs exclusively.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@suzit-10 suzit-10 force-pushed the fix/6992-remove-leftover-mapbox-specific-conditions branch from c39a04b to 4b545e6 Compare November 12, 2025 11:45
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Nov 12, 2025
@suzit-10 suzit-10 changed the title Remove Mapbox-specific code and conditions in favor of MapLibre Remove remaining Mapbox-specific code and migrate to Maplibre implementation Nov 13, 2025
@suzit-10 suzit-10 force-pushed the fix/6992-remove-leftover-mapbox-specific-conditions branch from 94fa63d to cd58dc7 Compare November 13, 2025 04:44
@sonarqubecloud
Copy link
Copy Markdown

@ramyaragupathy ramyaragupathy merged commit aa35d50 into develop Nov 20, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file scope: frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants