WKT Map Viewer for VS Code
A Visual Studio Code extension for visualizing Well-Known Text (WKT) geometries on an interactive map.
Features
- 🗺️ Interactive map visualization of WKT geometries
- 🎨 Dark mode interface with modern styling
- ✨ Support for multiple geometries with different colors
- ⌨️ Keyboard shortcuts for quick access
- 📝 Text input for adding additional WKT strings
- 🔄 Real-time updates and visualization
Supported WKT Types
POINT
LINESTRING
POLYGON
MULTIPOINT
MULTILINESTRING
MULTIPOLYGON
Installation
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "WKT Map Viewer"
- Click Install
Usage
Via Command Palette
- Select or place cursor on a line containing WKT
- Open Command Palette (Ctrl+Shift+P)
- Type "WKT: Show on Map"
Via Keyboard Shortcut
- Windows/Linux:
(Ctrl+Shift+W)
- Mac:
(Cmd+Shift+W)
Adding More Geometries
- Open the WKT viewer
- Enter WKT string in the input box
- Click "Add" or press Enter
Example WKT Strings
POINT(30 10)
LINESTRING(30 10, 10 30, 40 40)
POLYGON((30 10, 40 40, 20 40, 10 20, 30 10))
Development
Prerequisites
Running the Extension
- Open in VS Code
- Press F5 to start debugging
- A new VS Code window will open with the extension loaded
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
Apache 2.0
Support
Found a bug? Have a feature request? Create an issue
| |