Skip to main content

Add input form to the map for entering coordinates and placing markers at those locations

Project description

folium-coord_input-plugin

Add input form to the map for entering coordinates and placing markers at those locations. Supports marker removal.

Installation

pip install folium-coord_input-plugin

Examples

import folium

from folium_coord_input_plugin import CoordinateInput

m = folium.Map([45.5, -122.3], zoom_start=13)

# Defaults
CoordinateInput().add_to(m)

m.save('map.html')
# With custom settings
CoordinateInput(
    position='topright',
    placeholder='Enter coordinates',
    button_text='Place Marker',
    popup_text='<b>Coordinates:</b><br>Lat: ${lat}<br>Lon: ${lng}'
).add_to(m)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

folium_coord_input_plugin-0.1.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file folium_coord_input_plugin-0.1.tar.gz.

File metadata

  • Download URL: folium_coord_input_plugin-0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for folium_coord_input_plugin-0.1.tar.gz
Algorithm Hash digest
SHA256 2d62dafc3045003ef19ef2f9360585e335c4502a5df22aa3a59f0581423af872
MD5 f245ec454506089a2b8b665b944ec118
BLAKE2b-256 e34c047a05fbcf66f02c86abc27552138420f0b9614c104e25f9f5e48a1e5ac6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page