Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I am able to plot a map with pin point as a circle using dash .However, I am willing to show custom image as pin point inside map.
i have gone through the plotly dash code & found below class
The Marker has symbolsrc option.Hence I tried below code to get the image i wanted
Its giving error RuntimeError: Attempted to generate a URL without the application context being pushed. This has to be executed when application context is available.
I tried alternative like below giving the complete path of file.
Scattermapbox(lat = lat ,lon = lon ,marker=Marker(size=13,color='rgb(6, 91, 112)',symbolsrc=r'D:\dashboard\static\pin.jpg'), text = text )
This do not give any error but not giving expected output i wanted.