Skip to content

Support latlong2 ^0.10.1 #247

@thorito

Description

@thorito

Description

flutter_map_marker_cluster currently depends on latlong2 ^0.9.0, which conflicts with latlong2 ^0.10.1. This makes it impossible to upgrade latlong2 in projects that also use this package.

Error

Because flutter_map_marker_cluster 8.2.2 depends on latlong2 ^0.9.1 and no versions of flutter_map_marker_cluster match >8.2.2 <9.0.0, flutter_map_marker_cluster ^8.2.2 requires latlong2 ^0.9.1.

So, because depends on both flutter_map_marker_cluster ^8.2.2 and latlong2 ^0.10.1,
version solving failed.

Steps to Reproduce

  1. Add flutter_map_marker_cluster: ^8.2.2 to pubspec.yaml
  2. Add latlong2: ^0.10.1 to pubspec.yaml
  3. Run flutter pub get

Expected Behavior

Both packages should resolve without conflicts.

Requested Change

Please update the latlong2 dependency constraint in pubspec.yaml to support ^0.10.1:

# Current
latlong2: ^0.9.0                                                                                                                                                                                        
 
# Requested                                                                                                                                                                                             
latlong2: ^0.10.1
# or
latlong2: ">=0.9.0 <0.11.0"
                                                                                                                                                                                                        
Environment
                                                                                                                                                                                                        
- flutter_map_marker_cluster: 8.2.2
- latlong2: 0.10.x
- Flutter: Flutter 3.41.9 • channel stable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions