This is a migrated thread and some comments may be shown as answers.

RadMap: MapVisualElementFactory.CreateCluster() is not used for the ElementClusterStrategy

1 Answer 82 Views
Map
This is a migrated thread and some comments may be shown as answers.
Roman Kurdadze
Top achievements
Rank 1
Roman Kurdadze asked on 16 Feb 2020, 09:46 AM

public RadForm1() 
        {
            RadMapElement.VisualElementFactory = new MyMapVisualElementFactory();
            InitializeComponent();

            <..filling data and asigning clustering here>

        } 

public class MyMapVisualElementFactory : MapVisualElementFactory
    {
        public override MapCluster CreateCluster()
        {
            System.Diagnostics.Debug.WriteLine("FIRE!");
            return new MapCluster();
        }
    }

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 19 Feb 2020, 11:42 AM

Hello, Roman,

I confirm that it is an issue with RadMap. You can track its progress, subscribe for status changes and add your comments on the following link: https://feedback.telerik.com/winforms/1453916-radmap-mapvisualelementfactory-createcluster-is-not-used-for-the-elementclusterstrategy

Currently, the possible solution that I can suggest is to use a DistanceClusterStrategy if it is possible.

I hope this information helps. If you need any further assistance please don't hesitate to contact me.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Map
Asked by
Roman Kurdadze
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or