Skip to main content

Simple Django application to include LeafletJS map and display GPX file

Project description

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

Not documented yet :-/


This is an example of custom configuration

import os

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


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:

Project details

Download files

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

Files for django-leaflet-gpx, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size django_leaflet_gpx-0.1.3-py3-none-any.whl (143.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-leaflet-gpx-0.1.3.tar.gz (137.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page