feat(flet-map): add image overlay support#6421
Open
ndonkoHenri wants to merge 15 commits intorelease/v0.85.0from
Open
feat(flet-map): add image overlay support#6421ndonkoHenri wants to merge 15 commits intorelease/v0.85.0from
flet-map): add image overlay support#6421ndonkoHenri wants to merge 15 commits intorelease/v0.85.0from
Conversation
1 task
Deploying flet-website-v2 with
|
| Latest commit: |
2a794af
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d9767946.flet-website-v2.pages.dev |
| Branch Preview URL: | https://map-overlay-images.flet-website-v2.pages.dev |
Deploying flet-examples with
|
| Latest commit: |
2a794af
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8bc90a47.flet-examples.pages.dev |
| Branch Preview URL: | https://map-overlay-images.flet-examples.pages.dev |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds image overlay capabilities to flet-map, enabling both axis-aligned and rotated image overlays on top of flutter_map.
Changes:
- Introduces
OverlayImageLayerwithOverlayImageandRotatedOverlayImagecontrols (Python + Flutter/Dart). - Refactors several Flutter-side parsers to
Controlextension helpers and wraps more layer widgets withBaseControl. - Adds documentation pages, sidebar entries, and a runnable Python example for overlay images.
Reviewed changes
Copilot reviewed 29 out of 30 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| website/sidebars.yml | Adds new Map docs entries for overlay image layer + overlay types. |
| website/sidebars.js | Adds the same overlay docs to the JS sidebar structure. |
| website/docs/controls/map/rotatedoverlayimage.md | New API doc page for RotatedOverlayImage. |
| website/docs/controls/map/overlayimagelayer.md | New API doc page for OverlayImageLayer. |
| website/docs/controls/map/overlayimage.md | New API doc page for OverlayImage. |
| website/docs/controls/map/index.md | Adds overlay-images example section and updates reference links. |
| website/docs/controls/map/baseoverlayimage.md | New API doc page for BaseOverlayImage. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/utils/map.dart | Refactors map parsing via new Control extension helpers. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/utils/attribution_alignment.dart | Adds Control extension getter for AttributionAlignment. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/tile_layer.dart | Uses new parsing extension helpers for tile layer configuration. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/simple_attribution.dart | Wraps attribution widget in BaseControl. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/rich_attribution.dart | Wraps widget in BaseControl and uses new alignment getter. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/polyline_layer.dart | Uses new parsing extension helpers and wraps in BaseControl. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/polygon_layer.dart | Uses new parsing extension helpers and wraps in BaseControl. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/overlay_image_layer.dart | New Flutter implementation mapping controls to flutter_map overlay image types. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/marker_layer.dart | Uses new parsing helper and wraps in BaseControl. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/extension.dart | Registers OverlayImageLayer control with the extension factory. |
| sdk/python/packages/flet-map/src/flutter/flet_map/lib/src/circle_layer.dart | Uses new parsing helper and wraps in BaseControl. |
| sdk/python/packages/flet-map/src/flet_map/polyline_layer.py | Makes PolylineMarker a ft.BaseControl. |
| sdk/python/packages/flet-map/src/flet_map/polygon_layer.py | Makes PolygonMarker a ft.BaseControl. |
| sdk/python/packages/flet-map/src/flet_map/overlay_image_layer.py | Adds Python API for overlay images + layer. |
| sdk/python/packages/flet-map/src/flet_map/marker_layer.py | Makes Marker a ft.BaseControl. |
| sdk/python/packages/flet-map/src/flet_map/map_layer.py | Documents OverlayImageLayer as a supported layer type. |
| sdk/python/packages/flet-map/src/flet_map/circle_layer.py | Makes CircleMarker a ft.BaseControl. |
| sdk/python/packages/flet-map/src/flet_map/init.py | Re-exports overlay-image classes and updates __all__. |
| sdk/python/packages/flet-map/CHANGELOG.md | Adds release note entry for overlay image support. |
| sdk/python/examples/controls/map/overlay_images/pyproject.toml | New example project metadata for overlay images gallery entry. |
| sdk/python/examples/controls/map/overlay_images/main.py | New runnable example demonstrating overlay images. |
| client/pubspec.lock | Updates locked Dart dependencies (incl. flet path package version). |
| .agents/skills/flet-validation/SKILL.md | Updates internal skill description text. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1 task
FeodorFitsner
added a commit
that referenced
this pull request
Apr 25, 2026
Removing the `title=` tooltip on the deprecated badge avoids the reST markup leak entirely, so the `plainifyForTooltip()` helper added in ce02c8a is no longer needed. This mirrors the approach taken in PR #6421 (commit 2a794af). - Revert drag_target.py docs_reason strings to mkdocs-style links. - Drop `title` from the SummarySection Badge and stop carrying `deprecation` through `memberSummary`. - Remove the now-unused `plainifyForTooltip` from crocodocs utils.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #6319
Test Code
Summary by Sourcery
Add map image overlay support and refactor map control parsing/utilities while wrapping more layers in BaseControl for consistency.
New Features:
Enhancements:
Documentation:
Chores: