private List <String> GetTitles(BingMapListPart part)
        {
            // Get titles, would be nice to include these in the location object
            var titles = new List <String>();

            if (part.BingLocations != null)
            {
                foreach (var location in part.BingLocations)
                {
                    titles.Add(_mapListService.GetTitle(location, "Map {0}"));
                }
            }
            return(titles);
        }
        protected override DriverResult Display(BingLocationPart part, string displayType, dynamic shapeHelper)
        {
            if (!part.IsEnabled)
            {
                return(null);
            }

            return(ContentShape("Parts_BingLocation",
                                () => shapeHelper.Parts_BingLocation(
                                    Longitude: part.Longitude,
                                    Latitude: part.Latitude,
                                    Width: part.Width,
                                    Height: part.Height,
                                    Zoom: part.Zoom,
                                    MapType: part.MapType,
                                    MapIcon: part.MapIcon,
                                    MapIconFolder: GetIconFolder(),
                                    BingMapList: part.BingMapList,
                                    BingMapListName: _mapListService.GetTitle(part.BingMapList, "Map list {0}")
                                    )));
        }