The use of Amap

how does Amap realize the icon of the following car? I have come up with the icon of the car below, but the effect is not the same as what you need. There is a tab switch click below to show that the maps of Beijing, Hebei and Tianjin have not been ready for a long time


.

nit () {

  map = new AMap.Map("container", {
     center: [116.397428, 39.90923],
     resizeEnable: true,
     zoom: 10
   })
   var marker = new AMap.Marker({
      position: new AMap.LngLat(116.39, 39.9),
      icon: "http://webapi.amap.com/images/car.png",
      map: map
  });
  map.add(marker);
May.26,2021
Change the

icon to another
switch by clicking to trigger map.panTo ([116.405467, 39.907761]); to do


your icon is too big, the icon can be set wide and high, the direction can be set to rotate angle, and the city can be set to pan setcenter

.
Menu