-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
widget not loading after following installation instructions #2
Comments
Hi @amolnaik
|
Hi @sackh. Thanks for a much-awaited widget :) I used it in place of scoped package. Could that be the reason? |
I don't think that can be the reason. It is a bit strange. was it only failing for jupyterlab? |
closing this issue as npm config set command will not be required with a new release of here map widget for jupyter for Jupyter Notebook and JupyterLab 3. |
Signed-off-by: Keisuke Kishida <keisuke.kishida@here.com>
Signed-off-by: Keisuke Kishida <keisuke.kishida@here.com>
Instructions
$ npm config set @here:registry https://repo.platform.here.com/artifactory/api/npm/here-node/
$ pip install here-map-widget-for-jupyter
$ jupyter nbextension install –py –sys-prefix here_map_widget
$ jupyter nbextension enable here_map_widget –py –sys-prefix
Code
from here_location_services import LS
from here_map_widget import Map, GeoJSON
ls = LS(api_key=my_key)
address = "Invalidenstr 116, 10115 Berlin, Germany"
gc_response = ls.geocode(query=address)
data = gc_response.to_geojson()
geo_layer = GeoJSON(data=data)
m = Map(api_key=my_key, center=[52.53086, 13.38469], zoom=12)
m.add_layer(geo_layer)
m
does not display map widget
The text was updated successfully, but these errors were encountered: