opt
This commit is contained in:
@@ -88,7 +88,7 @@ public class MapMarkerInfoView extends MapMarkerBaseView {
|
||||
ivUserHead.setVisibility( View.INVISIBLE );
|
||||
ivIcon.setVisibility( View.VISIBLE );
|
||||
|
||||
if ( bindObj instanceof MarkerExploreWay ) {
|
||||
if ( bindObj instanceof MarkerExploreWay && ( ( MarkerExploreWay ) bindObj ).getPoiType() != null ) {
|
||||
switch ( ( ( MarkerExploreWay ) bindObj ).getPoiType() ) {
|
||||
case MarkerPoiTypeEnum.GAS_STATION:
|
||||
ivIcon.setImageResource( R.drawable.icon_map_marker_refuel );
|
||||
|
||||
@@ -57,7 +57,7 @@ public class MapMarkerView extends MapMarkerBaseView {
|
||||
switch ( markerShowEntity.getMarkerType() ) {
|
||||
case ServiceConst.CARD_TYPE_ROAD_CONDITION:
|
||||
case ServiceConst.CARD_TYPE_NOVELTY:
|
||||
if ( bindObj instanceof MarkerExploreWay ) {
|
||||
if ( bindObj instanceof MarkerExploreWay && ( ( MarkerExploreWay ) bindObj ).getPoiType() != null ) {
|
||||
switch ( ( ( MarkerExploreWay ) bindObj ).getPoiType() ) {
|
||||
case MarkerPoiTypeEnum.GAS_STATION:
|
||||
ivIcon.setImageResource( R.drawable.icon_map_marker_refuel );
|
||||
|
||||
Reference in New Issue
Block a user