Preview map layer files in your web browser using Sublime Text 3.
- Interactive Map preview powered by LeafletJS
-
Currently support the following types:
Install MapPreview via Package Control
- Open Package Control: Preferences > Package Control
- Select Package Control: Install Package
- Type MapPreview into the search box and select the package to install it.
- Clone the MapPreview repo into the Sublime Text packages location:
# move to default Mac location
$ cd ~/Libary/Application Support/Sublime Text 3/Packages
# clone directly into the pakcages directory
$ git clone git@github.com:doneill/MapPreview.git
With an open valid GeoJSON or TopoJSON file in Sublime Text 3:
- Right click and select Map Preview > Preview in Browser
- Select Map Preview: Preview in Browser from the command palette.
- If your files are being alerted as not valid, please try to load with another source, e.g. geojson.io to confirm. If you feel like your json file is valid and should be shown please create an issue for us to take a look.
A copy of the license is available in the repository's LICENSE file.