Skip to content

Make RasterLayerSource.encodedTileTemplateUrl nullable - #136

Merged
axelson merged 3 commits into
mainfrom
jax/tile-service-nullable-encoded-url
Jul 28, 2026
Merged

Make RasterLayerSource.encodedTileTemplateUrl nullable#136
axelson merged 3 commits into
mainfrom
jax/tile-service-nullable-encoded-url

Conversation

@axelson

@axelson axelson commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Makes RasterLayerSource.encodedTileTemplateUrl string | null (was string).

TileService layers (WMS, WMTS, ArcGIS) serve pre-rendered image tiles and have no encoded tile URL. The Felt app's toSdkLayer was silently dropping these layers from getLayers() because it couldn't construct a RasterLayerSource without an encodedTileTemplateUrl.

Also adds a minimal CLAUDE.md

axelson and others added 2 commits July 28, 2026 11:32
TileService layers (WMS, WMTS, ArcGIS) serve pre-rendered image tiles
and have no encoded tile URL. Previously these layers were silently
dropped by getLayers() because the Felt app's toSdkLayer couldn't
construct a RasterLayerSource without an encodedTileTemplateUrl.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Comment thread package-lock.json
{
"name": "@feltmaps/js-sdk",
"version": "1.9.0",
"version": "1.10.1",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This came along with a npm install and seems correct to include

@sullvn sullvn left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks great!

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@axelson
axelson merged commit 3c664d6 into main Jul 28, 2026
4 checks passed
@axelson
axelson deleted the jax/tile-service-nullable-encoded-url branch July 28, 2026 22:56
axelson added a commit that referenced this pull request Jul 28, 2026
* Make RasterLayerSource.encodedTileTemplateUrl nullable

TileService layers (WMS, WMTS, ArcGIS) serve pre-rendered image tiles
and have no encoded tile URL. Previously these layers were silently
dropped by getLayers() because the Felt app's toSdkLayer couldn't
construct a RasterLayerSource without an encodedTileTemplateUrl.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* add a minimal claude.md

* Regenerate API report and docs for nullable encodedTileTemplateUrl

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
(cherry picked from commit 3c664d6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants