Beispiel #1
0
        public SearchArea(string name, Telerik.Windows.Controls.Map.Location loc, string key, string type = null)
        {
            this.Location = loc;

            this.EntityType        = type != null ? type : "'PopulatedPlace'";
            this.LevelOfDetail     = 2;
            this.GetAllPolygons    = true;
            this.GetEntityMetadata = true;
            this.Culture           = "'en-us'";
            this.UserRegion        = "'US'";
            this.BingKey           = key;
            this.Name = name;
        }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LocationSetMessage"/> class.
 /// </summary>
 /// <param name="location">The location to force set.</param>
 public LocationSetMessage(Telerik.Windows.Controls.Map.Location location)
 {
     SetLocation = location;
 }