Visualisation type map(markers) marker image missing
See original GitHub issueIssue Summary
When using the map(markers) visualization type then the single marker image seems to be missing. It points me to this place: https://<website>/static/images/////node_modules/leaflet/dist/images/marker-icon-2x.png
Steps to Reproduce
- Write this query
select 24 as x, 60 as y
- Choose
Map (Markers)
visualization - Pick x or y for latitude and longitude and observe how the browser shows a missing image icon in middle of the ocean somewhere
Technical details:
- Redash Version: latest (5.something)
- Browser/OS: Chrome (Windows)
- How did you install Redash: manually… ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
How to Create a Map Visualization with Markers - MicroStrategy
You can create a map visualization with image or bubble markers. ... In the Type drop-down, select Marker to apply one of several...
Read more >0 - Stack Overflow
Due to this, my location markers are not showing up on the map. On my live site clients are facing this issue. I...
Read more >Add markers | Help - Mapbox docs
Learn how to visualize point data on a map with markers and other methods. ... The Mapbox Maps SDK does not come with...
Read more >Markers | Maps JavaScript API - Google Developers
Markers can display custom images, in which case they are usually referred to as "icons." Markers and icons are objects of type Marker...
Read more >Generate and add a missing icon to the map | Maplibre gl js
Dynamically generate a missing icon at runtime and add it to the map.. ... id of the missing image // check if this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, the reason for this is actually obvious: in the script that packages the tar ball file we exclude
node_modules
:https://github.com/getredash/redash/blob/26f0ce0749c1f683ba3b8f0b1d2a9e70cb6ea0e2/.circleci/pack#L9
(see the last
--exclude
flag)We need to change this to exclude only the root
node_modules
folder.You mentioned that you had to run npm install/bundle, which are not needed if you use the standard upgrade process, hence my confusion.
I did manage to reproduce this and will check this out.
Thanks.