Skip to main content

Simple Django application to include LeafletJS map and display GPX file.

Not documented yet :-/

Configuration

This is an example of custom configuration

import os

STATIC_URL = '/static'
LEAFLET_GPX_ICONS = {
    'markerIcon': {
        'iconUrl': os.path.join(STATIC_URL, 'icons/my-custom-marker.png'),
        'iconSize': [32, 32],
        'iconAnchor': [5, 31],
    }
}

LEAFLET_GPX_ICONS

There are three editable icons:

  • markerIcon: markers points
  • startIcon: GPX start point
  • endIcon: GPX end point

The icon options are the same as those for creating an icon in the Leaflet-JS library.
Here is a link to the documentation: https://leafletjs.com/reference-1.5.0.html#icon

Metadata

Release files for django-leaflet-gpx 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-leaflet-gpx 0.1.3
File Size Uploaded Provenance
django-leaflet-gpx-0.1.3.tar.gz 137.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-leaflet-gpx 0.1.3
File Interpreter ABI Platform
django_leaflet_gpx-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 281.3 kB

Release files / django-leaflet-gpx-0.1.3.tar.gz

Download URL django-leaflet-gpx-0.1.3.tar.gz
Size 137.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5d10d46b33745f22c4dd662bb19fdd240ee82af984a5a8cec2f603c660b3c4d3
BLAKE2b-256 checksum
How to use checksums
4238029162ce9f6269718f470ff5c4a4170fae672c0606074134ade247ad61c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.3 Linux/4.19.66-v7l+

Release files / django_leaflet_gpx-0.1.3-py3-none-any.whl

Download URL django_leaflet_gpx-0.1.3-py3-none-any.whl
Size 143.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d563b094d1615e979afc0084b956c5242b4c0a927e689354e2d053871a3a9f2a
BLAKE2b-256 checksum
How to use checksums
9e191bec5a7452dabc6dbdc887da35395f08a2c9dbce12b1302a5d1f1bf372a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.7.3 Linux/4.19.66-v7l+

Security for django-leaflet-gpx 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page