minemap-fundamentals

Initialize MineMap Maps with standardized lifecycle events and built-in controls.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

MineMap maps require a consistent bootstrap workflow: initialization, lifecycle events, and controls setup.

Core Features & Use Cases

  • Initialize a map with a standardized constructor and default interactions.
  • Attach common controls (Navigation, Scale, Fullscreen, etc.) and manage their lifecycle.
  • Ensure predictable startup/shutdown patterns across apps and demos.

Quick Start

Create a new Map instance with a basic style object and attach Navigation and Scale controls after the map loads.

Frequently Asked Questions about minemap-fundamentals

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

FAQPage Schema
How do I initialize a MineMap map with default interactions?

To initialize a MineMap map, you use a standardized constructor to create a new Map instance with a basic style object. This setup automatically configures default interactions, ensuring a reliable startup workflow across web apps and dashboards.

What is the standard lifecycle for a MineMap map instance?

The standard MineMap lifecycle involves predictable startup and shutdown patterns. This lifecycle management ensures stable initialization, handles event handling during the map's active state, and provides reliable destruction when the map is no longer needed.

How do I add controls like Navigation and Scale to a MineMap map?

You attach common controls such as Navigation, Scale, and Fullscreen after the map loads. The framework provides a structured way to organize these built-in controls and manage their specific lifecycle events alongside the main map instance.

Can I use DOM overlays with MineMap maps in web applications?

Yes, you can use DOM overlays with MineMap maps. The framework provides a structure to organize common controls and DOM overlays, applying reliably across web apps, dashboards, and demos to enhance map interaction and display.

What is the best way to manage map destruction and shutdown in MineMap?

The best way to manage map destruction is using the framework's predictable shutdown patterns. By adhering to standardized lifecycle events, you ensure reliable cleanup and prevent potential issues when removing the map from your web application or dashboard.