internal virtual void displaySearchResults(Java.Lang.Object[] objects)
        {
            GLMapMarkerStyleCollection style = new GLMapMarkerStyleCollection();

            style.AddStyle(new GLMapMarkerImage("marker", mapView.ImageManager.Open("cluster.svgpb", 0.2f, unchecked ((int)0xFFFF0000))));
            style.SetDataCallback(new GLMapMarkerStyleCollectionDataCallbackAnonymousInnerClassHelper(this));
            GLMapMarkerLayer layer = new GLMapMarkerLayer(objects, style);

            layer.SetClusteringEnabled(false);
            mapView.DisplayMarkerLayer(layer);

            //Zoom to results
            if (objects.Length != 0)
            {
                //Calculate bbox
                GLMapBBox bbox = new GLMapBBox();
                foreach (object @object in objects)
                {
                    if (@object is GLMapVectorObject)
                    {
                        bbox.AddPoint(((GLMapVectorObject)@object).Point());
                    }
                }
                //Zoom to bbox
                mapView.SetMapCenter(bbox.Center(), false);
                mapView.SetMapZoom(mapView.MapZoomForBBox(bbox, mapView.Width, mapView.Height), false);
            }
        }
        internal virtual void addMarkers()
        {
            GLMapMarkerStyleCollection style = new GLMapMarkerStyleCollection();

            int[] unionCounts = new int[] { 1, 2, 4, 8, 16, 32, 64, 128 };
            for (int i = 0; i < unionCounts.Length; i++)
            {
                float scale = (float)(0.2 + 0.1 * i);
                style.AddStyle(new GLMapMarkerImage("marker" + scale, mapView.ImageManager.Open("cluster.svgpb", scale, unionColours[i])));
            }

            GLMapVectorStyle textStyle = GLMapVectorStyle.CreateStyle("{text-color:black;font-size:12;font-stroke-width:1pt;font-stroke-color:#FFFFFFEE;}");

            style.SetDataCallback(new GLMapMarkerStyleCollectionDataCallbackAnonymousInnerClassHelper2(this, unionCounts, textStyle));

            new AsyncTaskAnonymousInnerClassHelper2(this, style).Execute();
        }