Vue Map - providerConfig

A provider configuration object.

Selector: DxProviderConfig
Type:

Object

Default Value: { mapId: '', useAdvancedMarkers: true }

index.js
  • $(function () {
  • $("#map").dxMap({
  • apiKey: "YOUR_API_KEY",
  • provider: "google",
  • providerConfig: {
  • mapId: "YOUR_GOOGLE_MAP_ID"
  • }
  • });
  • });

mapId

Specifies a map ID for the google and googleStatic providers.

Selector: map-id
Type:

String

Default Value: ''

This property is required if you use markers.

useAdvancedMarkers Deprecated

Specifies whether to use advanced markers with the google and googleStatic providers.

Selector: use-advanced-markers
Type:

Boolean

Default Value: true