我有一个postgres表,我有兴趣使用Cakephp从这个表中提取两列(经度,纬度)并将它们呈现为单个数组,我将传递给地图数据层以在地图上显示标记。
我试图做的事情
Intent intent=null;
switch (v.getId()) {
case R.id.details:
intent = new Intent(this, DetailsActivity.class);
break;
case R.id.apply:
intent = new Intent(this, ApplyActivity.class);
break;
case R.id.edit:
intent = new Intent(this, EditActivity.class);
break;
case R.id.upload:
intent = new Intent(this, UploadActivity.class);
break;
case R.id.call:
intent = new Intent(this, CallActivity.class);
break;
}
startActivity(intent);
答案 0 :(得分:0)
请尝试使用此声明
$ dataArr = Set :: extract($ coordinateData,'{n} .FieldVisit');