1
Vote

Clustering problems in WP8.1 silverlight

description

Hi! I found that there some problems with clustering in WP8.
First of all you forget to call Init method in ClusteringLayer constructor for WINDOWS_PHONE directive. So in Render() method we will recive error at line "_baseLayer.Clear()", becouse _baseLayer is always null.
#if WINDOWS_PHONE_APP
        public ClusteringLayer(MapControl map)
        {
            Init();
        }
#elif WINDOWS_PHONE
        public ClusteringLayer(Map map)
        {
            !!!There is no Init() method here
        }

comments