Back to project page SmartMap.
The source code is released under:
Apache License
If you think the Android project SmartMap 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.dennytech.smartmap; //w ww. ja v a2s. co m import android.graphics.drawable.Drawable; public interface IOverlayItem { /** * Real OverlayItem * <p> * It's maybe any realization. * * @return */ public Object real(); /** * Returns the overlay marker used to indicate the item. * * @return the overlay marker. */ public Drawable getmMarker(); public Drawable getMarker(int stateBitset); /** * Returns the position of the item as {@link NVGeoPoint}. * * @return The GeoPoint. */ public IGeoPoint getPoint(); /** * Returns the snippet-text of the item. * * @return The Snippet-text. */ public String getSnippet(); /** * Returns the title of the item. * * @return The title. */ public String getTitle(); /** * Returns the position of the item as map-routable {@link String}. * * @return not yet implemented. */ public String routableAddress(); /** * Sets the marker to be used when drawing this item on the map. * * @param drawable * The marker. * * @param stateBitset * The state. */ public IOverlayItem setMarker(Drawable drawable); /** * Sets the state of a drawable to match a given state bitset. * * @param drawable * @param stateBitset * you should keep stateBitset >= 0 */ public void setState(Drawable drawable, int stateBitset); public IOverlayItem clone(); }