minemap-3d-tiles-runtime-control

Control MineMap 3D Tiles runtime styling, visibility, and interaction via SceneTileset APIs.

3|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/ming1zhou88/minemap-skills --skill minemap-3d-tiles-runtime-control
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minemap-3d-tiles-runtime-control
Source: https://github.com/ming1zhou88/minemap-skills/tree/main/skills/minemap-3d-tiles-runtime-control
Command: npx skills add https://github.com/ming1zhou88/minemap-skills --skill minemap-3d-tiles-runtime-control

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured runtime-control layer for MineMap 3D Tiles, enabling dynamic styling, visibility toggles, loading checks, and per-URL tile management during live scenes.

Core Features & Use Cases

  • TileFeature styling: use SceneTileset#setTileFeatureStyle(fn) to colorize or show/hide features based on properties.
  • Loading state: verify sourceLoaded(tileset) and map.areTilesLoaded() to ensure tiles are ready before interactions.
  • Picking and inspection: retrieve features via map.getFeatureByGPUPick() or map.getFeatureByGPUPickAsync() and inspect properties.
  • URL-based control: toggle groups of tiles via tileset.setShowByUrlName(value, name) for complex tiling configurations.

Quick Start

Initialize the 3D Tiles scene component and apply a tileFeatureStyle function to color and toggle visibility for features.

Frequently Asked Questions about minemap-3d-tiles-runtime-control

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I dynamically change MineMap 3D Tiles styling at runtime?

Dynamically change MineMap 3D Tiles styling at runtime by using the SceneTileset#setTileFeatureStyle(fn) function to colorize or toggle feature visibility based on specific properties. This allows direct manipulation of TileFeature appearances during live scenes.

How do I check if MineMap 3D Tiles are fully loaded before interacting?

Check if MineMap 3D Tiles are fully loaded by verifying sourceLoaded(tileset) and map.areTilesLoaded() before triggering interactions. This ensures the tileset is completely rendered and ready for operations like GPU picking.

Can I retrieve specific TileFeature properties using GPU picking in MineMap?

Retrieve specific TileFeature properties using GPU picking in MineMap via map.getFeatureByGPUPick() or map.getFeatureByGPUPickAsync(). These methods return the targeted feature object, allowing you to inspect its underlying attributes during live scene interactions.

How do I toggle visibility for specific 3D Tilesets by URL in MineMap?

Toggle visibility for specific 3D Tilesets by URL in MineMap using the tileset.setShowByUrlName(value, name) API call. This function manages complex tiling configurations by showing or hiding targeted tile groups dynamically.

What is required to initialize a 3D Tiles scene component for runtime control in MineMap?

Initializing a 3D Tiles scene component for runtime control in MineMap requires calling map.addSceneComponent({ type: '3d-tiles', ... }). This setup establishes the foundational layer needed to apply styling, visibility toggles, and loading checks.