Skip to content

Conversation

@gabbopalma
Copy link
Collaborator

Closes #712

…ive editing features. Update main.dart to include new examples.
Copilot AI review requested due to automatic review settings January 13, 2026 11:17
@gabbopalma gabbopalma added this to the 0.26.0 milestone Jan 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request enhances the MapLibre GL example application by adding four new interactive examples demonstrating draggable and animated features for both annotations and style layers. The PR also includes several improvements to existing examples and updates resource URLs to use the official MapLibre demo tiles server.

Changes:

  • Added four new example pages: draggable/animated annotations and draggable/animated style layers
  • Updated glyphs URLs from orangemug.github.io to demotiles.maplibre.org for better reliability
  • Refactored symbol overlap settings to reduce redundant API calls and added diagnostic logging
  • Improved error logging with stack traces and enhanced type safety in custom marker example

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
maplibre_gl_example/lib/main.dart Added imports for new examples, WASM detection logging, and registered new example pages
maplibre_gl_example/lib/examples/layers/edit_style_layer_draggable.dart New example demonstrating draggable GeoJSON features on style layers
maplibre_gl_example/lib/examples/layers/edit_style_layer_animated.dart New example showing animated property updates for style layers
maplibre_gl_example/lib/examples/annotations/edit_annotation_draggable.dart New example for draggable symbol and circle annotations
maplibre_gl_example/lib/examples/annotations/edit_annotation_animated.dart New example demonstrating animated annotation updates
maplibre_gl_example/lib/examples/layers/circle_layer_example.dart Enhanced error logging with stack trace capture
maplibre_gl_example/lib/examples/basics/multi_style_switch.dart Updated glyphs URL, made _onMapCreated async to apply initial style, removed debug log
maplibre_gl_example/lib/examples/annotations/custom_marker.dart Improved type safety using toDouble() instead of type cast
maplibre_gl_example/lib/examples/annotations/annotations_example.dart Refactored overlap settings to _onStyleLoaded, added tap event logging
maplibre_gl_example/assets/style.json Updated glyphs URL to official MapLibre demo tiles server
maplibre_gl_example/assets/osm_style.json Added glyphs URL using official MapLibre demo tiles server

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gabbopalma gabbopalma added next version This feature will added in the next version enhancement New feature or request example Affects the example app labels Jan 13, 2026
@gabbopalma gabbopalma self-assigned this Jan 13, 2026
@gabbopalma gabbopalma changed the base branch from main to release-0.26.0 January 13, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request example Affects the example app next version This feature will added in the next version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Enhance examples

1 participant