Skip to main content
All docs
V25.1
  • MapApiKeyBuilder.Bing(JS) Method

    OBSOLETE

    This Method is obsolete now.

    A key used to authenticate the component within Bing Maps. Mirrors the client-side bing option.

    Namespace: DevExtreme.AspNet.Mvc.Builders

    Assembly: DevExtreme.AspNet.Core.dll

    Declaration

    [Obsolete("")]
    public MapApiKeyBuilder Bing(
        JS value
    )

    Parameters

    Name Type Description
    value JS

    A JavaScript expression that specifies the option value.

    Returns

    Type Description
    MapApiKeyBuilder

    A reference to this instance after the method is called.

    Remarks

    Use the new JS() expression to set the option’s value.

    <script>
        var myValue = ...;
    </script>
    
    @(Html.DevExtreme().Map()
        .ApiKey(map => map
            .Bing(new JS("myValue"))
        )
    )
    
    See Also