Skip to content

feat(tools): add Tools tab with Trace Path and Line of Sight#67

Merged
Avi0n merged 1 commit into
mainfrom
feature/tools-tab
Jan 4, 2026
Merged

feat(tools): add Tools tab with Trace Path and Line of Sight#67
Avi0n merged 1 commit into
mainfrom
feature/tools-tab

Conversation

@Avi0n
Copy link
Copy Markdown
Owner

@Avi0n Avi0n commented Jan 4, 2026

Summary

  • Add new Tools tab between Map and Settings with wrench.and.screwdriver icon
  • Create ToolsView containing navigation to Trace Path and Line of Sight
  • Remove Trace Path from Contacts toolbar menu
  • Remove Line of Sight access from Map view

Test plan

  • Verify Tools tab appears between Map and Settings
  • Verify Trace Path accessible from Tools tab
  • Verify Line of Sight accessible from Tools tab
  • Verify Trace Path no longer in Contacts menu
  • Verify Line of Sight no longer in Map toolbar

Add a new Tools tab between Map and Settings to consolidate diagnostic tools:
- Create ToolsView with navigation to Trace Path and Line of Sight
- Remove Trace Path from Contacts toolbar menu
- Remove Line of Sight from Map view
@Avi0n Avi0n merged commit 623f3bd into main Jan 4, 2026
@Avi0n Avi0n deleted the feature/tools-tab branch January 4, 2026 05:39
Avi0n added a commit that referenced this pull request Mar 18, 2026
- Work around MapLibre bug where MLNEffectiveScaleFactorForView uses
  nativeBounds.width / bounds.width, which gives wrong scale in landscape
  because nativeBounds is fixed while bounds rotates with the device
- Isa-swizzle the internal Metal UIView's setDrawableSize: to compute
  bounds × nativeScale instead of the buggy ratio
- Use non-zero initial frame to avoid zero-size Metal init (issue #67)
- Fix mapStyleChanged always false when style URL changes
- Remove empty setupPointLayers stub, pass mapView param to setupRasterSources
Avi0n added a commit that referenced this pull request Mar 20, 2026
- Work around MapLibre bug where MLNEffectiveScaleFactorForView uses
  nativeBounds.width / bounds.width, which gives wrong scale in landscape
  because nativeBounds is fixed while bounds rotates with the device
- Isa-swizzle the internal Metal UIView's setDrawableSize: to compute
  bounds × nativeScale instead of the buggy ratio
- Use non-zero initial frame to avoid zero-size Metal init (issue #67)
- Fix mapStyleChanged always false when style URL changes
- Remove empty setupPointLayers stub, pass mapView param to setupRasterSources
Avi0n added a commit that referenced this pull request Mar 26, 2026
- Work around MapLibre bug where MLNEffectiveScaleFactorForView uses
  nativeBounds.width / bounds.width, which gives wrong scale in landscape
  because nativeBounds is fixed while bounds rotates with the device
- Isa-swizzle the internal Metal UIView's setDrawableSize: to compute
  bounds × nativeScale instead of the buggy ratio
- Use non-zero initial frame to avoid zero-size Metal init (issue #67)
- Fix mapStyleChanged always false when style URL changes
- Remove empty setupPointLayers stub, pass mapView param to setupRasterSources
Avi0n added a commit that referenced this pull request Mar 27, 2026
- Work around MapLibre bug where MLNEffectiveScaleFactorForView uses
  nativeBounds.width / bounds.width, which gives wrong scale in landscape
  because nativeBounds is fixed while bounds rotates with the device
- Isa-swizzle the internal Metal UIView's setDrawableSize: to compute
  bounds × nativeScale instead of the buggy ratio
- Use non-zero initial frame to avoid zero-size Metal init (issue #67)
- Fix mapStyleChanged always false when style URL changes
- Remove empty setupPointLayers stub, pass mapView param to setupRasterSources
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