How to dynamically add data to google maps API?

后端 未结 2 1293
迷失自我
迷失自我 2021-01-28 23:10

I have got a map that I want to have a feed of lat/long data getting pushed to the map data array. I have the function to get the data, but am having trouble getting that to be

2条回答
  •  北海茫月
    2021-01-28 23:51

    Create a Method which does two things.

    1. Add to the Array
    2. Add the Item to the map

提交回复
热议问题