djangocms-leaflet


Namedjangocms-leaflet JSON
Version 0.0.4 PyPI version JSON
download
home_pageNone
Summarydjango CMS plug-ins for the JavaScript map library Leaflet
upload_time2023-10-23 18:30:10
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords leaflet django cms
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # djangocms-leaflet

This app provides plug-ins for the JavaScript map library [Leaflet](https://leafletjs.com/).

[![PyPI - Version](https://img.shields.io/pypi/v/djangocms-leaflet.svg)](https://pypi.org/project/djangocms-leaflet)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/djangocms-leaflet.svg)](https://pypi.org/project/djangocms-leaflet)

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

```console
pip install djangocms-leaflet
```

or add `djangocms-leaflet` to the dependencies of your project, e. g. in `pyproject.toml`:
```toml
dependencies = [
    # …
    'djangocms-leaflet',
    # …
]
```


Add it to `INSTALLED_APPS` in the settings::

```python
INSTALLED_APPS: list[str] = [
    # …
    'djangocms_leaflet',
    # …
]
```
## Usage

Add a map plugin to a placeholder and fill in the form. Add markers as sub plugins if needed.
In the template `src/djangocms_leaflet/templates/djangocms_leaflet/map.html` the tile server
of the OpenStreetMap website is defined. Make sure you comply with their usage policy or
use another tile server by replacing the tile server’s URL.

You can either specify latitude and longitude of the map or marker or enter a search term.
If no coordinates are entered, they will be searched with Nominatim and the first hit in the result list location will
be used as coordinates.

## License

`djangocms-leaflet` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

## Integrated library

| Name                                                   | Description                | License                                                                       |
|--------------------------------------------------------|-----------------------------|-------------------------------------------------------------------------------|
| [Leaflet](https://leafletjs.com/)                      | JavaScript library for maps | [BSD-2-Clause license](https://github.com/Leaflet/Leaflet/blob/main/LICENSE)  |


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "djangocms-leaflet",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Leaflet,django CMS",
    "author": null,
    "author_email": "Jens-Erik Weber <Jens-Erik.Weber@passiv.de>",
    "download_url": "https://files.pythonhosted.org/packages/64/b6/cb316f521bbb13925fe91dc2dff968e67978c2225c15be35cd03dd03461e/djangocms_leaflet-0.0.4.tar.gz",
    "platform": null,
    "description": "# djangocms-leaflet\n\nThis app provides plug-ins for the JavaScript map library [Leaflet](https://leafletjs.com/).\n\n[![PyPI - Version](https://img.shields.io/pypi/v/djangocms-leaflet.svg)](https://pypi.org/project/djangocms-leaflet)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/djangocms-leaflet.svg)](https://pypi.org/project/djangocms-leaflet)\n\n-----\n\n**Table of Contents**\n\n- [Installation](#installation)\n- [License](#license)\n\n## Installation\n\n```console\npip install djangocms-leaflet\n```\n\nor add `djangocms-leaflet` to the dependencies of your project, e. g. in `pyproject.toml`:\n```toml\ndependencies = [\n    # \u2026\n    'djangocms-leaflet',\n    # \u2026\n]\n```\n\n\nAdd it to `INSTALLED_APPS` in the settings::\n\n```python\nINSTALLED_APPS: list[str] = [\n    # \u2026\n    'djangocms_leaflet',\n    # \u2026\n]\n```\n## Usage\n\nAdd a map plugin to a placeholder and fill in the form. Add markers as sub plugins if needed.\nIn the template `src/djangocms_leaflet/templates/djangocms_leaflet/map.html` the tile server\nof the OpenStreetMap website is defined. Make sure you comply with their usage policy or\nuse another tile server by replacing the tile server\u2019s URL.\n\nYou can either specify latitude and longitude of the map or marker or enter a search term.\nIf no coordinates are entered, they will be searched with Nominatim and the first hit in the result list location will\nbe used as coordinates.\n\n## License\n\n`djangocms-leaflet` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n\n## Integrated library\n\n| Name                                                   | Description                | License                                                                       |\n|--------------------------------------------------------|-----------------------------|-------------------------------------------------------------------------------|\n| [Leaflet](https://leafletjs.com/)                      | JavaScript library for maps | [BSD-2-Clause license](https://github.com/Leaflet/Leaflet/blob/main/LICENSE)  |\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "django CMS plug-ins for the JavaScript map library Leaflet",
    "version": "0.0.4",
    "project_urls": {
        "Documentation": "https://github.com/MacLake/djangocms-leaflet#readme",
        "Issues": "https://github.com/MacLake/djangocms-leaflet/issues",
        "Source": "https://github.com/MacLake/djangocms-leaflet"
    },
    "split_keywords": [
        "leaflet",
        "django cms"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "87b2a2a69e90b5e44bc82eb6415e68fa66f94cb7f8b5f40e9daa7780f133d2a7",
                "md5": "67c2997d75c35d989871c13bdc155b4c",
                "sha256": "18e10f1f09605a1d8bf404e0bacd31c933510059deafa49d3cb2904cc3edafb2"
            },
            "downloads": -1,
            "filename": "djangocms_leaflet-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "67c2997d75c35d989871c13bdc155b4c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 186596,
            "upload_time": "2023-10-23T18:30:13",
            "upload_time_iso_8601": "2023-10-23T18:30:13.993005Z",
            "url": "https://files.pythonhosted.org/packages/87/b2/a2a69e90b5e44bc82eb6415e68fa66f94cb7f8b5f40e9daa7780f133d2a7/djangocms_leaflet-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "64b6cb316f521bbb13925fe91dc2dff968e67978c2225c15be35cd03dd03461e",
                "md5": "9e117062207f774d29611b1b85e4c159",
                "sha256": "6a865bc586e7f44748f42fc7474fcd934d7a838600c4b1a0b245fa234906c91e"
            },
            "downloads": -1,
            "filename": "djangocms_leaflet-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "9e117062207f774d29611b1b85e4c159",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 139717,
            "upload_time": "2023-10-23T18:30:10",
            "upload_time_iso_8601": "2023-10-23T18:30:10.485605Z",
            "url": "https://files.pythonhosted.org/packages/64/b6/cb316f521bbb13925fe91dc2dff968e67978c2225c15be35cd03dd03461e/djangocms_leaflet-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-23 18:30:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MacLake",
    "github_project": "djangocms-leaflet#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "djangocms-leaflet"
}
        
Elapsed time: 1.92073s