Skip to content

fix(map-server): patch Cesium for sandboxed iframes and handle undefined coordinates - #795

Open
pjm4 wants to merge 1 commit into
modelcontextprotocol:mainfrom
pjm4:map-server-cesium-fixes
Open

pjm4 wants to merge 1 commit into
modelcontextprotocol:mainfrom
pjm4:map-server-cesium-fixes

Conversation

@pjm4

@pjm4 pjm4 commented Sep 28, 2026

Copy link
Copy Markdown

Description

This PR patches Cesium.TaskProcessor to run terrain geometry tasks synchronously on the main thread, avoiding web worker issues in sandboxed iframes. It also disables Knockout.js UI widgets to prevent EvalError under strict CSP without 'unsafe-eval'.

Additionally, it addresses issues in the map-server example when coordinates are undefined, ensuring the server handles them gracefully and sets the viewer to a default location.

  • Formatted code with prettier
  • Tests pass locally

Checklist

  • Follows the existing code style
  • Tests run successfully
  • Allow edits by maintainers is enabled

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