MapBuilder.AutoAdjust(Boolean) Method
Specifies whether the UI component automatically adjusts center and zoom property values when adding a new marker or route, or if a new UI component contains markers or routes by default. Mirrors the client-side autoAdjust option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public MapBuilder AutoAdjust(
bool value
)
Parameters
Name | Type | Description |
---|---|---|
value | Boolean | The option value. |
Returns
Type | Description |
---|---|
MapBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Map()
.AutoAdjust(true)
)
See Also