Xamarin.Forms.GoogleMaps Polyline points

Viewed 25

I'm using https://github.com/amay077/Xamarin.Forms.GoogleMaps and https://github.com/nuitsjp/Xamarin.Forms.GoogleMaps.Bindings (for binding polyline) libraries for map in my project. I have polyline with 99000 positions. This polyline don't put to the map. And I don't have an error. Has the maximum count positions polyline? Maybe there is a way around this?

    ObservableCollection<Polyline> Polylines = new ObservableCollection<Polyline>();
            
    Polyline polyline = new Polyline()
    {
      Tag = tag,
      StrokeWidth = strokeWidth,
      StrokeColor = strokeColor,
      ZIndex = zIndex
    };
            
    foreach(var position in positions)
    {
      polyline.Positions.Add(position);
    }
        
    Polylines.Add(polyline);
0 Answers
Related