Search in sources :

Example 6 with Feature

use of com.google.maps.android.data.Feature in project android-maps-utils by googlemaps.

the class GeoJsonLayerTest method testGetFeatures.

public void testGetFeatures() throws Exception {
    int featureCount = 0;
    for (Feature ignored : mLayer.getFeatures()) {
        featureCount++;
    }
    assertEquals(3, featureCount);
}
Also used : Feature(com.google.maps.android.data.Feature)

Aggregations

Feature (com.google.maps.android.data.Feature)6 Geometry (com.google.maps.android.data.Geometry)1