map()

Requires:
Base Library≥2.10.0

Description

Map component.

Parameters

None

Return Value

None

Examples

Markers and callouts

<map
  longitude="{{lng}}"
  latitude="{{lat}}"
  scale="{{14}}"
  markers="{{markers}}"
  class="map"
  bind:markertap="onMarkerTap"
  bind:callouttap="onCalloutTap"
/>

Routes and overlays

<map
  longitude="{{lng}}"
  latitude="{{lat}}"
  scale="{{13}}"
  polyline="{{polyline}}"
  circles="{{circles}}"
  polygons="{{polygons}}"
  class="map"
  bind:regionchange="onRegionChange"
/>