Skip to content

Fix MapLibre's scale control default position in documentation page - #2620

Open
wipfli wants to merge 1 commit into
visgl:masterfrom
wipfli:patch-1
Open

wipfli wants to merge 1 commit into
visgl:masterfrom
wipfli:patch-1

Conversation

@wipfli

@wipfli wipfli commented Oct 13, 2026 •

Copy link
Copy Markdown

The default value is probably taken from here:

https://github.com/maplibre/maplibre-gl-js/blob/72927301b7594536630d896c45c64c4d0d4c587f/src/ui/control/scale_control.ts#L60-L62


Note

Low Risk
Documentation-only correction with no code or behavior changes.

Overview
Corrects the ScaleControl API docs so the documented default for position is 'bottom-left' instead of 'top-right', matching MapLibre GL JS behavior when the prop is omitted.

This is a documentation-only change; no runtime or component code is modified.

Reviewed by Cursor Bugbot for commit adc5b6c. Bugbot is set up for automated code reviews on this repo. Configure here.

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Low impact] This documentation-only change appears safe to merge.

Summary

Corrects the documented default position of MapLibre’s ScaleControl from 'top-right' to 'bottom-left'.

  • The MapLibre scale control docs show its bottom-left default.

Reviews (1) · Last reviewed commit: "Update scale-control.md" · Reviewed by Greptile

This branch has not been deployed

No deployments
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