Skip to content

feat: attempt Folium map rendering with MapWidget #770

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DRAKEN-1974
Copy link


name: Pull Request
about: Create a pull request to contribute to the project
title: 'Add Folium Map Integration (Backend)'
labels: 'feature'
assignees: ''

🧩 Related Issue

Fixes #

📌 Description of Changes

This PR introduces a Folium map feature to the backend. It enables dynamic generation of interactive maps based on input data. The backend logic is fully functional and tested. Frontend rendering is pending and will be completed in a separate PR.

🚀 Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • New example
  • Test improvement

✅ Changes Made

  • Integrated folium to create dynamic maps.
  • Added backend route: /generate-map (or the actual route you used).
  • Map is returned as an embeddable HTML or downloadable link.
  • Added basic error handling for invalid input data.

🧪 Testing

  • ✅ Verified map renders correctly using sample data.
  • ✅ Handled edge cases like empty or invalid coordinates.
  • ✅ Confirmed endpoint returns expected response (HTML map) using Postman/local testing.

📋 Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have added comments in hard-to-understand areas
  • I have updated documentation if needed
  • My changes do not introduce new warnings
  • I have tested the code thoroughly with different inputs
  • All dependencies and modules are properly handled

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

Successfully merging this pull request may close these issues.

1 participant