Skip to content

fonsp/PlutoMapPicker.jl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlutoMapPicker

A simple location picker widget for Pluto.jl notebooks. It creates an interactive map using Leaflet.

screenshot of a pluto notebook showing a cell with "@bind place MapPicker(52.0915, 5.116, 12)". The output of the cell is a map with a marker on it. Another cell shows the value of "place", which contains the coordinates of the marker.

Prerequisites

PlutoMapPicker is a package for Julia. It is is designed to be used in Pluto notebooks, but it is possible you find a use for it outside of Pluto.

To install:

using Pkg
Pkg.add("PlutoMapPicker")

Usage

PlutoMapPicker is designed to be simple to use. Basic usage looks like this:

using PlutoMapPicker

# to pick a single location
@bind place MapPicker(0.0, 0.0, 1)

# to pick multiple locations
@bind places MapPickerMultiple(0.0, 0.0, 1)

See the docstrings in map-picker.jl for more detailed documentation.

Licence

This package is shared under an MIT licence. See LICENSE for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Julia 100.0%