Tooltips Geo Map
-
I need help!
You see on the map for example “DE-SH”, i want to show this letters as “Schleswig-Holstein”.
Please give me an instruction.The page I need help with: [log in to see the link]
-
@andrebraselmann you can do this by providing the name instead of the code in the CSV as per this table
If you are satisfied with our product and support, kindly spare a moment to leave us a review. It would really help us spread the word!
@rozroz
i do this first before i have found the iso-code.
But something is in trouble, you can see, that BRANDENBURG is gone.Now i using your tip:
Bundesland,Infizierte,Todesfälle string,number,number Baden-Württemberg,21603,519 Bayern,28827,635 Berlin,4202,37 Brandenburg,1578,30 Bremen,445,11 Hamburg,3320,44 Hessen,5242,100 Mecklenburg-Vorpommern,572,11 Niedersachsen,6804,141 Nordrhein-Westfalen,21961,384 Rheinland-Pfalz,4336,50 Saarland,1693,23 Sachsen,3261,52 Sachsen-Anhalt,1075,16 Schleswig-Holstein,1932,34 Thüringen,1351,20-
This reply was modified 6 years, 2 months ago by
andrebraselmann.
@andrebraselmann unfortunately this appears to be a problem with the Google Visualization API (https://github.com/mboyaci/google-ajax-examples/issues/116). You may have to use the ISO code for Brandeburg. Then when you mouse hover on it, the ISO code will show.
@rozroz
Please give me an example, i don’t know, where i must implement this code.Thx and happy eastern.
-
This reply was modified 6 years, 1 month ago by
andrebraselmann.
@andrebraselmann you don’t need to implement any code. I was merely giving you a reference to the fact that this is an underlying problem with the API and not with our plugin. You need to use the ISO code instead of the name for regions that do not show up e.g. Brandenburg.
@rozroz
I d’ont understand, while on your link:What steps will reproduce the problem? 1. Use the JS-API http://www.google.com/jsapi 2. Type google.load('visualization', '1', {'packages': ['geochart']}); 3. Implement var data = google.visualization.arrayToDataTable([ ['Land', 'Population per km²'], ['Brandenburg', 85], ]); var options = { region: 'DE', resolution: 'provinces', }; var chart = new google.visualization.GeoChart(document.getElementById('karte')); chart.draw(data, options); What is the expected output? What do you see instead? There should be a coloring of the Land Brandenburg. What version of the product are you using? On what operating system? JS-API available on 2012-09-22 Please provide any additional information below. In the file "de.js" the name "Brandenburg" is coded wrongly to the ISO-Code DE-BR; however, it should be DE-BB. Thus the metod call gviz.util.RegionCoder.dictionaryReady('de', results); does not work correctly.Where i must implement this? Point 3
-
This reply was modified 6 years, 1 month ago by
andrebraselmann.
@andrebraselmann please forget about the link. When you upload your CSV, you have to provide the ISO code for locations that don’t show up similar to how you previously provide DE-SH for Schleswig-Holstein.
We haven’t heard from you in sometime so marking this as Resolved. If you continue to face an issue, please create a new ticket. We’d be happy to help.
-
This reply was modified 6 years, 2 months ago by
The topic ‘Tooltips Geo Map’ is closed to new replies.