cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Set multiple marker in map.

mpatel-21
2-Guest

Set multiple marker in map.

Hello Everyone ,

Most of the developer are confused in add Multiple marker in Map.

var params = {

    infoTableName : "InfoTable",

    dataShapeName : "Datasahpe"

};

// CreateInfoTableFromDataShape(infoTableName:STRING("InfoTable"), dataShapeName:STRING):INFOTABLE(Datasahpe)

var result = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params);

// location:Home LOCATION

var location = new Object();

location.latitude = 23.452;

location.longitude = 72.124;

location.elevation = 0;

location.units = "WGS84";

result.AddRow({location:location})

//location :Office LOCATION2

var location2 = new Object();

location2.latitude = 23.123;

location2.longitude = 72.456

location2.elevation = 0;

location2.units = "WGS84";

result.AddRow({location:location2});

Step 5: Execute the service you get result.

Step 6: Drag the service in your Mashup Map and Select Data.

Thanks,

Mayank

0 REPLIES 0
Top Tags