metabase icon indicating copy to clipboard operation
metabase copied to clipboard

World map is not on-hover showing names of countries but only 2-letter codes

Open varecha-hmi opened this issue 8 years ago • 10 comments

When I visualize world map, it no longer shows names of countries but only 2-letter codes. In version 0.30.4 it was working. screenshot_11

varecha-hmi avatar Nov 20 '18 20:11 varecha-hmi

I have the same issue with a custom region map. Seems like name property does not work.

mariomka avatar Nov 22 '18 12:11 mariomka

Did someone find a way to fix it already? I can do the change and recompile. Customers are complaining about codes :(

varecha-hmi avatar Feb 20 '19 08:02 varecha-hmi

There is a workaround by changing your map and query to use region/country name instead of key/2-letter code etc. I had to use custom World map. obrazek

varecha-hmi avatar Mar 05 '19 09:03 varecha-hmi

For me, nothing will work at all. I can't get the hovering functionality working anyhow.

lp-lima avatar Mar 26 '19 13:03 lp-lima

@lp-lima Sounds like a different issue. Check browser console for errors. Try to make it using Sample Data, might just be an issue with your data. Use the forum for questions and troubleshooting :-)

flamber avatar Mar 26 '19 15:03 flamber

I filed a different issue, and it was closed in favor of this one: (https://github.com/metabase/metabase/issues/9125)

I already used the forum, and got no answers on this matter: https://discourse.metabase.com/t/custom-geojson-map-issues-on-0-31/5042/2

I'm pretty sure my data is alright, since it was working on 0.29...

lp-lima avatar Mar 26 '19 15:03 lp-lima

@lp-lima I cannot reproduce your issue on 0.31.2 - I get the hover. Screenshot_00000 But in your issue (#9125), your example of just a single result actually causes an error, which is an existing issue that causes an error on maps, when there's less than 5 results - see #4684 Again, check your browser console and Metabase logs.

flamber avatar Mar 26 '19 19:03 flamber

Did some checks here. I wasn't aware of that another issue you mentioned. Now I can get it working. Thanks for that.

lp-lima avatar Mar 28 '19 15:03 lp-lima

Fixed in #10065

paulrosenzweig avatar Aug 12 '19 15:08 paulrosenzweig

Hi everyone. This should be fixed in version 0.33.0, available now.

mazameli avatar Aug 28 '19 18:08 mazameli