Skip to content

[FEATURE] Add EPSG3413 (polar) projection support to ScaleLayerPlugin in example app #1314

@JosefWN

Description

@JosefWN

What is the bug?

The ScaleLayerPlugin shows incorrect scale, sometimes negative.

What is the expected behaviour?

The ScaleLayerPlugin should work the same regardless of projection.

How can we reproduce this issue?

Add a ScaleLayerPlugin to the example example/lib/pages/epsg3413_crs.dart. When you pan using this projection the scale should not change, and it should never go negative.

Best would be to draw a couple of objects of known size on different lat/lons (especially above/below the pole) and compare them to the scalebar to ensure that the correct scale is given at different zoom levels.

Can you provide any other information?

No response

Platforms Affected

iOS, Web, MacOS

Severity

Minimum: Allows normal functioning

Frequency

Consistently: Always occurs at the same time and location

Requirements

  • I agree to follow this project's Code of Conduct
  • My Flutter/Dart installation is unaltered, and flutter doctor finds no relevant issues
  • I am using the latest stable version of this package
  • I have checked the Common Issues documentation page
  • I have checked for similar issues which may be duplicates

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions