Skip to content

fix: Labels for points - #350

Merged
acneville merged 1 commit into
mainfrom
fix/187-projects-id-not-showing-for-points
Sep 17, 2026
Merged

acneville merged 1 commit into
mainfrom
fix/187-projects-id-not-showing-for-points

Conversation

@acneville

Copy link
Copy Markdown
Contributor

Adding point labels. Works for single and multi-point setups.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is small, consistent with existing layer labeling patterns in the same file, and does not introduce any obvious runtime or typing issues.

Pull request overview

Adds client-side labeling configuration for the WRI Points FeatureLayer so point features display a “Project id” label when labels are enabled, aligning behavior with existing labeling on other WRI feature layers (e.g., lines/polygons) in src/mapLayers.ts.

Changes:

  • Enable labels on the points FeatureLayer (labelsVisible: true).
  • Add labelingInfo for points with a text symbol and Arcade expression that labels by Project_ID.
File summaries
File Description
src/mapLayers.ts Enables and configures point feature labels via labelsVisible + labelingInfo (text symbol + expression using Project_ID).
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@acneville
acneville merged commit 74dacdc into main Sep 17, 2026
8 checks passed
@acneville
acneville deleted the fix/187-projects-id-not-showing-for-points branch September 17, 2026 22:11
@acneville
acneville restored the fix/187-projects-id-not-showing-for-points branch September 18, 2026 17:42
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.

3 participants