Interactive map visualization for PowerShell using Leaflet.js and OpenStreetMap. Although usable standalone, this module is primarily designed for Claude Desktop integration via the PowerShell.MCP module, enabling AI-powered map visualization.
- Interactive Map Display: View locations on an interactive OpenStreetMap
- Route Visualization: Display routes between two locations with turn-by-turn directions
- Animated Tours: Create animated tours that visit multiple locations sequentially
- Geocoding: Convert place names to coordinates using Nominatim
- Reverse Geocoding: Convert coordinates to place names
- Multiple Markers: Display multiple markers with custom colors and labels
Install-Module -Name PowerShell.Map
Show-OpenStreetMap Tokyo
Show-OpenStreetMap Tokyo, Osaka, Kyoto
Show-OpenStreetMapRoute -From Tokyo -To Osaka
Start-OpenStreetMapTour Tokyo, Osaka, Kyoto, Fukuoka -Duration 2.5 -PauseTime 2
- Show-OpenStreetMap: Display one or more locations on an interactive map
- Show-OpenStreetMapRoute: Display a route between two locations
- Start-OpenStreetMapTour: Create an animated tour visiting multiple locations
Show-OpenStreetMap -Location "35.6762,139.6503" -Marker "Tokyo Tower"
Show-OpenStreetMap Paris -Duration 2 -Zoom 15
Import-Csv locations.csv | Show-OpenStreetMap
PowerShell.Map integrates with Claude Desktop via PowerShell.MCP, enabling natural language map visualization.
- Install PowerShell.MCP:
Install-Module PowerShell.MCP
- Configure Claude Desktop to use PowerShell.MCP (see PowerShell.MCP documentation)
Once configured, simply tell Claude to set up the module:
"Show me some fun map demos using the PowerShell.Map module"
Then ask for what you want:
- "Show me a tour of famous temples in Kyoto"
- "Create a route from Tokyo Tower to Senso-ji Temple"
- "Show me a walking tour of cafes in Paris"
- "Plan a hot spring tour across Japan with routes between locations"
Claude will translate these requests into PowerShell.Map commands and display the interactive maps automatically.
- PowerShell 7.2 or later
- Internet connection (for OpenStreetMap tiles and geocoding)
MIT License - see LICENSE file for details.