2016-04-30 7 views

答えて

0

documentationのようにカスタムMarkerViewを作成する必要があります。その後

、このようgetXOffsetとgetYOffsetをカスタマイズ:その作業

@Override 
public int getXOffset(float xpos) { 
    // this will cause the marker-view to be at left of the screen 
    return -(int)xpos; 
} 

@Override 
public int getYOffset(float ypos) { 
    // this will cause the marker-view to be at top screen 
    return -(int)ypos; 
+0

が、それは常に1位で、私は左と右にMarkViewを表示する必要があり、左側にある指のポイントであれば、その後MarkView右の位置または右のMarkViewを左に表示して、提案してください。 –