C# 클래스 csDataServerPlugin.PoiGraphic

상속: Graphic
파일 보기 프로젝트 열기: TNOCS/csTouch 1 사용 예제들

공개 메소드들

메소드 설명
CloseCallout ( ) : void
OpenPopup ( MapPoint tapPos, TapMode tm ) : void
PoiGraphic ( ) : Caliburn.Micro
PoiGraphic_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
PoiGraphic_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
SetGeometry ( ESRI.ArcGIS.Client.Geometry.Geometry g ) : void
TappedByExternalMapControlMapGesture ( MapPoint tapPos ) : void

This function is calles from multiple places outside the class!!

UpdateForCurrentMapExtent ( ) : void
UpdateScale ( bool forceUpdate = false ) : void

Updates the scale of the poi graphics

UpdateVisibility ( ) : void

비공개 메소드들

메소드 설명
AddMediaToFloatingElements ( MapPoint tapPos ) : void

Add a media element (photo) to the floating elements collection. Based on the current tap position, find a suitable location for the photo's. In addition, in case multiple photo's need to be added, offset them a bit so they don't overlap and cover each other. Also make sure that you don't add a photo twice (based on the floating element's title).

ComputeStartPositionAndOffset ( MapPoint tapPos, System.Windows.Vector &offset ) : Point

Compute suitable start position within the screen boundary.

EndTapped ( ) : void
FireIconLongTapped ( ) : void
LongTappedTimerElapsed ( object sender, EventArgs e ) : void
MapControlExtentChanged ( object sender, ExtentEventArgs e ) : void
StartLongTappedTimer ( ) : void

The icon is clicked (mouse or touch) set timer to wait for x msec (while icon still touched); then fire event

Stop ( ) : void
StopLongTappedTimer ( ) : void

Tapped ( MapPoint tapPos ) : void
UpdateCalloutActions ( ) : void

메소드 상세

CloseCallout() 공개 메소드

public CloseCallout ( ) : void
리턴 void

OpenPopup() 공개 메소드

public OpenPopup ( MapPoint tapPos, TapMode tm ) : void
tapPos MapPoint
tm TapMode
리턴 void

PoiGraphic() 공개 메소드

public PoiGraphic ( ) : Caliburn.Micro
리턴 Caliburn.Micro

PoiGraphic_MouseLeftButtonDown() 공개 메소드

public PoiGraphic_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
리턴 void

PoiGraphic_MouseLeftButtonUp() 공개 메소드

public PoiGraphic_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
리턴 void

SetGeometry() 공개 메소드

public SetGeometry ( ESRI.ArcGIS.Client.Geometry.Geometry g ) : void
g ESRI.ArcGIS.Client.Geometry.Geometry
리턴 void

TappedByExternalMapControlMapGesture() 공개 메소드

This function is calles from multiple places outside the class!!
public TappedByExternalMapControlMapGesture ( MapPoint tapPos ) : void
tapPos MapPoint
리턴 void

UpdateForCurrentMapExtent() 공개 메소드

public UpdateForCurrentMapExtent ( ) : void
리턴 void

UpdateScale() 공개 메소드

Updates the scale of the poi graphics
public UpdateScale ( bool forceUpdate = false ) : void
forceUpdate bool When true, the scale update will be performed. When false(default) the scale update will only be performed if the scale has updated since the last call to UpdateScale
리턴 void

UpdateVisibility() 공개 메소드

public UpdateVisibility ( ) : void
리턴 void