MapApiKeyBuilder.Bing(JS) Method
In This Article
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
C#
[Obsolete("")]
public MapApiKeyBuilder Bing(
JS value
)
#Parameters
Name | Type | Description |
---|---|---|
value | JS | A Java |
#Returns
Type | Description |
---|---|
Map |
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