Message Boards Message Boards

GeoListPlot and PlotStyle discrepancies between Version 11 and 12?

With version 11 this program work well. In data we have longitude, latitude and a number that indicate a class. And this program draw a map with stations.

GeoListPlot[data[[All, All, 1]] , 
 PlotLegends -> data[[All, 1, -1, 1]], 
 PlotMarkers -> {Style["\[FilledCircle]", FontSize -> 20, Black], 
   Style["\[FilledDiamond]", FontSize -> 20, Red], 
   Style["\[FilledSquare]", FontSize -> 20, Blue], 
   Style["\[FilledUpTriangle]", FontSize -> 20, Yellow]}] 

But this program don't work with Mathematica 12. Why ? Only the map appear, but not the stations.

A. Dauphiné

POSTED BY: André Dauphiné
3 Replies

I think it must be a bug. Anything other than Automatic for the Plotmarkers seems to fail. I would log a call. Also the examples at https://mathematica.stackexchange.com/questions/123952/plotmarkers-in-geolistplot-do-not-work do not work anymore.

POSTED BY: l van Veen

My data :

{{{GeoPosition[{36.867, 30.733}], {1}}, {GeoPosition[{36.274, 
     23.017}], {1}}, {GeoPosition[{36.667, -4.483}], {1}}, \
{GeoPosition[{38.176, 13.091}], {1}}, {GeoPosition[{36.405, 
     28.086}], {1}}}, {{GeoPosition[{41.283, 
     2.067}], {2}}, {GeoPosition[{44.413, 
     8.838}], {2}}, {GeoPosition[{43.658, 
     7.216}], {2}}, {GeoPosition[{42.74, 
     2.871}], {2}}, {GeoPosition[{41.8, 
     12.233}], {2}}, {GeoPosition[{39.489, -0.482}], {2}}}, \
{{GeoPosition[{41.133, 16.783}], {3}}, {GeoPosition[{40.977, 
     28.815}], {3}}, {GeoPosition[{43.45, 
     5.233}], {3}}, {GeoPosition[{43.684, 
     10.393}], {3}}, {GeoPosition[{40.52, 
     22.971}], {3}}, {GeoPosition[{42.367, 
     19.25}], {3}}}, {{GeoPosition[{45.677, 13.754}], {4}}}}
POSTED BY: André Dauphiné

Perhaps you should now wrap GeoPosition around your coordinates? Could you give a short sample of your data?

POSTED BY: l van Veen
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract