本文整理汇总了Java中com.google.android.maps.ItemizedOverlay类的典型用法代码示例。如果您正苦于以下问题:Java ItemizedOverlay类的具体用法?Java ItemizedOverlay怎么用?Java ItemizedOverlay使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ItemizedOverlay类属于com.google.android.maps包,在下文中一共展示了ItemizedOverlay类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onFocusChanged
import com.google.android.maps.ItemizedOverlay; //导入依赖的package包/类
public void onFocusChanged(ItemizedOverlay itemizedoverlay, OverlayItem overlayItem) {
try{
//Log.v(TAG, "onFocusChanged(..) called.");
//Log.d(TAG, "focused OverlayItem overlayitem == " + overlayItem );
// Make the selected view visible.
if( null == overlayItem ){
selectAreaItemView.setVisibility(View.GONE);
}else{
// Set the selected view's properties.
selectAreaItemTitleView.setText(overlayItem.getTitle());
selectAreaItemSnippetView.setText(overlayItem.getSnippet());
selectAreaItemView.setVisibility(View.VISIBLE);
// TODO: Add icon image when available.
}
}catch(HandledException h){ // Ignore.
}catch(Exception exp){
Log.e(TAG, "ERR0005W", exp);
ErrorUtil.handleExceptionFinish("ERR0005W", exp, mActivity);
}
}
示例2: shadowOf
import com.google.android.maps.ItemizedOverlay; //导入依赖的package包/类
public static ShadowItemizedOverlay shadowOf(ItemizedOverlay instance) {
return (ShadowItemizedOverlay) Robolectric.shadowOf_(instance);
}
示例3: boundCenterBottom
import com.google.android.maps.ItemizedOverlay; //导入依赖的package包/类
public static Drawable boundCenterBottom(Drawable balloon){
return ItemizedOverlay.boundCenterBottom(balloon);
}
示例4: boundCenter
import com.google.android.maps.ItemizedOverlay; //导入依赖的package包/类
public static Drawable boundCenter(Drawable balloon){
return ItemizedOverlay.boundCenter(balloon);
}
示例5: boundCenterBottom
import com.google.android.maps.ItemizedOverlay; //导入依赖的package包/类
public static Drawable boundCenterBottom(Drawable balloon){
return ItemizedOverlay.boundCenterBottom(balloon);
}
示例6: boundCenter
import com.google.android.maps.ItemizedOverlay; //导入依赖的package包/类
public static Drawable boundCenter(Drawable balloon){
return ItemizedOverlay.boundCenter(balloon);
}
示例7: setMarkerBottomCenterd
import com.google.android.maps.ItemizedOverlay; //导入依赖的package包/类
/**
* sets the appearance of items like they were pinned on the map (the center
* will be the middle bottom)
*
* @param myMarker
*/
public static void setMarkerBottomCenterd(Drawable myMarker) {
ItemizedOverlay.boundCenterBottom(myMarker);
}