Skip to content

refactor(core): remove temporary locationServiceMapLayer constant#36204

Open
Robin1987China wants to merge 1 commit into
anomalyco:v2from
Robin1987China:locserv-v2
Open

refactor(core): remove temporary locationServiceMapLayer constant#36204
Robin1987China wants to merge 1 commit into
anomalyco:v2from
Robin1987China:locserv-v2

Conversation

@Robin1987China

Copy link
Copy Markdown
Contributor

Issue for this PR

N/A — refactor PR (refactor PRs skip issue requirement per contributing guidelines)

Type of change

  • Refactor

What does this PR do?

Removes the temporary locationServiceMapLayer constant from location-services.ts. All call sites migrate to the buildLocationServiceMap() factory. The constant was marked "temporary for backwards compatibility" and its usage was already partially migrated upstream.

How did you verify your code works?

bun typecheck in packages/core and packages/opencode (0 errors). All 8 remaining call sites migrated; git grep locationServiceMapLayer returns nothing.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

All call sites migrated to buildLocationServiceMap() factory.
The constant was marked 'temporary for backwards compatibility'
and its usage in server.ts was already migrated upstream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant