protected PlaceSettings createPlaceSettings(PlaceType type, int fontSize, Color color, Color stroke) { var ps = new PlaceSettings(); ps.Type = type; ps.FontSize = fontSize; ps.Color = color; ps.OutlineColor = stroke; return(ps); }
private static void SetProperties(JSONObject geo, Place place, PlaceSettings typeSettings) { place.Id = geo["properties"]["id"].ToString(); if (geo["properties"].HasField("name")) { place.Name = geo["properties"]["name"].str; } place.Type = geo["type"].str; place.Kind = geo["properties"]["kind"].str; place.name = "place"; }
public PlaceImplementation(PlaceSettings settings) { }
public PlaceImplementation(PlaceSettings settings, IWorldCoreGameComponentContext context) { }