Trying to integrate here maps with dash. here is my dash code
import dash
import dash_html_components as html
external_stylesheets = [
‘https://js.api.here.com/v3/3.1/mapsjs-ui.css’
]
external_scripts = [
‘https://js.api.here.com/v3/3.1/mapsjs-core.js’,
‘https://js.api.here.com/v3/3.1/mapsjs-service.js’,
‘https://js.api.here.com/v3/3.1/mapsjs-ui.js’,
‘https://js.api.here.com/v3/3.1/mapsjs-mapevents.js’
]
app = dash.Dash(name, external_stylesheets=external_stylesheets, external_scripts=external_scripts)
app.layout = html.Div([
html.Div(id=‘map’)
])
if name == “main”:
app.run_server(debug=True)
folder path:
main :
** assests
– demo.css
– demo.js
– style.css
** heredashpolyline.py
I’m following this : Polyline on the Map - Maps API for JavaScript - HERE Developer.
I want to display map with polyline. How can I achieve this?