I am using GeoRegionValuePlot to create color coded county maps of a given state. Color is determined from the value given with a rule. I would like that same value specified in the rule to be displayed when I mouse-click on the county as displayed in the GeoRegionValuePlot graph. Nothing I have read in the documentation gives me any idea on how to do this or whether it can be done. I can't find any examples of Tooltip used along with Geo maps.

My current GeoRegionValuePlot is given below:

GeoRegionValuePlot[countyRules, PlotStyle -> Directive[EdgeForm[{Black}]], ImageSize ->500, GeoBackground -> None, GeoProjection -> {"LambertAzimuthal"},PlotLegends -> Automatic]

Where countyRules is a list of county entity rules for all counties of the state.


1 Answer 1


You can use Tooltip as the setting for the option GeoLabels:

countriesandvalues = {Entity["Country", "France"] -> 3, 
   Entity["Country", "Germany"] -> 1, Entity["Country", "Italy"] -> 8};

 GeoLabels -> (Tooltip[#, Row[{CommonName@#2, " :", #4}]] &)]

enter image description here

Note: GeoRegionValuePlot >> Details and Options

enter image description here

enter image description here

enter image description here

  • $\begingroup$ Works Perfectly. Thanks! $\endgroup$
    – K7PEH
    May 31, 2021 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.