/// <summary> /// Derived classes must implement this to save the option fields to the /// query message passed. /// </summary> /// <param name="queryMsg">The target message.</param> /// <remarks> /// The derived class must store its values as <see cref="PropertyMsg" /> fields /// using <b>"Option."</b> as the key prefix for each value's property name. /// </remarks> protected override void SaveTo(GeoQueryMsg queryMsg) { if (!MapBounds.IsEmpty) { queryMsg["Option.MapBounds"] = MapBounds.ToString(); } if (ResolutionMiles.HasValue) { queryMsg["Option.ResolutionMiles"] = ResolutionMiles.Value.ToString(); } }