Back to project page android-maps-utils.
The source code is released under:
Apache License
If you think the Android project android-maps-utils listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.google.maps.android.utils.demo.model; //from w w w . j av a 2 s . c o m import com.google.android.gms.maps.model.LatLng; import com.google.maps.android.clustering.ClusterItem; public class Person implements ClusterItem { public final String name; public final int profilePhoto; private final LatLng mPosition; public Person(LatLng position, String name, int pictureResource) { this.name = name; profilePhoto = pictureResource; mPosition = position; } @Override public LatLng getPosition() { return mPosition; } }