package com.mapzen.tangram;

import java.util.ArrayList;
import java.util.List;

/**
 * {@code TouchLabel} represents labels that can be selected on the scree
 */
public class TouchLabel {

    /**
     * Options for the type of TouchLabel
     */
    public enum LabelType {
        POINT,
        TEXT,
    }

    private List<LngLat> coordinates;
    private LabelType type;

    public TouchLabel(double[] coordinates, int type) {
        this.coordinates = new ArrayList<>();

        for (int i = 0; i < coordinates.length - 1; i += 2) {
            this.coordinates.add(new LngLat(coordinates[i], coordinates[i + 1]));
        }

        this.type = LabelType.values()[type];
    }

    public LabelType getType() {
        return this.type;
    }

    public List<LngLat> getCoordinates() {
        return this.coordinates;
    }
}

@@ -151,16 +151,17 @@
 he scree
+n
 %0A */%0Apub
@@ -282,13 +282,12 @@
     
-POINT
+ICON
 ,%0A  

Use same defines as c++ interface in java code