Heim  >  Fragen und Antworten  >  Hauptteil

Lehrer, ich möchte fragen, was „map._map“ im folgenden Code bedeutet. Warum das schreiben?

map._map.appendChild(div);

轻狂书生轻狂书生2404 Tage vor1268

Antworte allen(2)Ich werde antworten

  • aaa

    aaa2018-04-19 20:44:28

    map是对象,调用map里面的 appendChild();方法div是参数

    Antwort
    0
  • future。

    future。2018-04-12 20:57:56

    map是实例化的对象,_map是就是div(也就是地图div),用实例化的对象,找_map呀 

    Antwort
    0
  • StornierenAntwort