HERE Map Widget for Jupyter
Use HERE Maps API for JavaScript in your Jupyter Notebook.
Usage
Selecting a basemap:
Loading a GeoJSON data on a map:
Making use of HERE Maps API for JavaScript primitives such as Marker to draw a SVG icon on the map:
Using the search control to search GeoJSON layer data:
Displaying GeoPandas data on map:
Displaying XYZ Hub or HERE Data Hub space data on a map:
Use ipywidgets controls to build an interactive GUI:
Selecting external basemaps:
Prerequisites
Before you can install this package, or use the example notebooks to make sure your system meets the following prerequisities:
- A Python installation, 3.6+ recommended, with the
pipcommand available to install dependencies - A HERE developer account, free and available under HERE Developer Portal
- An API key from the HERE Developer Portal
Installation
Install HERE Map Widget for Jupyter with conda from the Anaconda conda-forge channel using the below command:
$ conda install -c conda-forge here-map-widget-for-jupyter
Install HERE Map Widget for Jupyter from PyPI using the below command:
$ pip install here-map-widget-for-jupyter
Below extra commands are required only if you are using classic Jupyter Notebook (version 5.3 or older):
$ jupyter nbextension install --py --sys-prefix here_map_widget
$ jupyter nbextension enable here_map_widget --py --sys-prefix
Below extra commands are required only if you are using JupyterLab (version 2 or older):
$ npm config set @here:registry https://repo.platform.here.com/artifactory/api/npm/here-node/
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager @here/map-widget-for-jupyter
Installation from source repository on GitHub
For a development installation (requires yarn, you can install it with conda install -c conda-forge yarn):
$ npm config set @here:registry https://repo.platform.here.com/artifactory/api/npm/here-node/
$ git clone https://github.com/heremaps/here-map-widget-for-jupyter.git
$ cd here-map-widget-for-jupyter
$ pip install -e .
If you are using the classic Jupyter Notebook you need to install the nbextension:
$ jupyter nbextension install --py --sys-prefix here_map_widget
$ jupyter nbextension enable here_map_widget --py --sys-prefix
Note for developers:
- the
-epip option allows one to modify the Python code in-place. Restart the kernel in order to see the changes. - the
--symlinkargument on Linux or OS X allows one to modify the JavaScript code in-place. This feature is not available with Windows.
For developing with JupyterLab:
$ jupyter labextension develop --overwrite here_map_widget
Documentation
Documentation is available here
Related projects
Below projects use here-map-widget-for-jupyter as plotting backend
License
Copyright (C) 2019-2021 HERE Europe B.V.
Unless otherwise noted in LICENSE files for specific directories, the LICENSE in the root applies to all content in this repository.
Metadata
Release files for here-map-widget-for-jupyter 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| here-map-widget-for-jupyter-1.1.3.tar.gz | 19.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| here_map_widget_for_jupyter-1.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 25.2 MB
Release files / here-map-widget-for-jupyter-1.1.3.tar.gz
| Download URL | here-map-widget-for-jupyter-1.1.3.tar.gz |
|---|---|
| Size | 19.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6dc96b58ad7ea2dbae146e43c79fcc8c74131d345f6d8f196138b5062f6ea888
|
|
BLAKE2b-256 checksum How to use checksums |
e2ee12c5890a1e4d05e6becb433317c09c5f205785c183752016e034693a24d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / here_map_widget_for_jupyter-1.1.3-py2.py3-none-any.whl
| Download URL | here_map_widget_for_jupyter-1.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 5.4 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0bbe69440b8cd48b89fb1273b51b737d1f2504908ad89c0381fd23f3cba5d782
|
|
BLAKE2b-256 checksum How to use checksums |
0812af5e273513ea098356477b8b16e053ee3fd77cf59eb6bae3923f0d0fc43c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|