Multiple markers on map

Hi

In my app , I stored multiple Lat & Lng in LVS(shopStorgae) and on page show I have list service to place all LatLng markers on map using below JS code on success of list service

-----
var address = localStorage.getItem("shopStorage");
var data = JSON.parse(address);
for(var i = 0; i < data.length; i++){
{convert_address.execute({'data': {'address': data[i].shopAddress}});}}
----

The issue is I only get on location placed on map not all locations that I stored in LVS
Any help?
1 person has
this question
+1
Reply