Beispiel #1
0
        private static PointStyle GetCurrentVehicleStyle(string iconVirtualPath)
        {
            Stream   vehicleStream = MapSuiteSampleHelper.GetResourceStream(iconVirtualPath);
            GeoImage vehicleImage  = new GeoImage(vehicleStream);

            return(new PointStyle(vehicleImage));
        }
Beispiel #2
0
        private static PointStyle GetVehicleTrailStyle()
        {
            Stream historyStream = MapSuiteSampleHelper.GetResourceStream("trail point.png");

            historyStream.Seek(0, SeekOrigin.Begin);

            return(new PointStyle(new GeoImage(historyStream)));
        }