You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: separate point and label entities, fix marker rendering
- Split marker into two Cesium entities (point + billboard label)
to avoid point/billboard conflict that suppressed labels entirely
- Remove heightReference: CLAMP_TO_GROUND (no terrain loaded, caused
3D offset on tilted views)
- Use canvas roundRect() for cleaner rounded corners
- Use actualBoundingBoxAscent/Descent for precise text centering
- Add hint in show-map description: skip markers for single location
- Update/remove now correctly handles both entities
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: examples/map-server/server.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -234,7 +234,7 @@ export function createServer(): McpServer {
234
234
{
235
235
title: "Show Map",
236
236
description:
237
-
"Display an interactive world map. Specify the view with either a bounding box (`west`/`south`/`east`/`north`) or a center point (`latitude`/`longitude`) with optional `radiusKm` (default 50). Optionally pass initial `markers`.",
237
+
"Display an interactive world map. Specify the view with either a bounding box (`west`/`south`/`east`/`north`) or a center point (`latitude`/`longitude`) with optional `radiusKm` (default 50). Optionally pass initial `markers` (useful when showing multiple points; skip for a single location as the map already centers there).",
0 commit comments