コード例 #1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/iServerJava6R_SampleCode;component/FeaturesLayer/RendererTest.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MyYellowFill = ((SuperMap.Web.Core.PredefinedFillStyle)(this.FindName("MyYellowFill")));
     this.MyRedFill = ((SuperMap.Web.Core.PredefinedFillStyle)(this.FindName("MyRedFill")));
     this.MyBlueFill = ((SuperMap.Web.Core.PredefinedFillStyle)(this.FindName("MyBlueFill")));
     this.MyUniqueRenderer = ((SuperMap.Web.Rendering.UniqueRenderer)(this.FindName("MyUniqueRenderer")));
     this.MySmallMarkerSymbol = ((SuperMap.Web.Core.PredefinedMarkerStyle)(this.FindName("MySmallMarkerSymbol")));
     this.MyMediumMarkerSymbol = ((SuperMap.Web.Core.PredefinedMarkerStyle)(this.FindName("MyMediumMarkerSymbol")));
     this.MyLargeMarkerSymbol = ((SuperMap.Web.Core.PredefinedMarkerStyle)(this.FindName("MyLargeMarkerSymbol")));
     this.MyRangeRenderer = ((SuperMap.Web.Rendering.RangeRenderer)(this.FindName("MyRangeRenderer")));
     this.MyMap = ((SuperMap.Web.Mapping.Map)(this.FindName("MyMap")));
 }
コード例 #2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/iServerJava6R_SampleCode;component/FeaturesLayer/Cluster.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MediumMarkerStyle = ((SuperMap.Web.Core.PredefinedMarkerStyle)(this.FindName("MediumMarkerStyle")));
     this.myScatterClusterer = ((SuperMap.Web.Clustering.ScatterClusterer)(this.FindName("myScatterClusterer")));
     this.mySparkClusterer = ((SuperMap.Web.Clustering.SparkClusterer)(this.FindName("mySparkClusterer")));
     this.RedGradient = ((System.Windows.Media.LinearGradientBrush)(this.FindName("RedGradient")));
     this.MyMap = ((SuperMap.Web.Mapping.Map)(this.FindName("MyMap")));
     this.regioncluster = ((System.Windows.Controls.CheckBox)(this.FindName("regioncluster")));
     this.scatterClusterer = ((System.Windows.Controls.RadioButton)(this.FindName("scatterClusterer")));
     this.sparkClusterer = ((System.Windows.Controls.RadioButton)(this.FindName("sparkClusterer")));
     this.NonClusterer = ((System.Windows.Controls.RadioButton)(this.FindName("NonClusterer")));
 }
コード例 #3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/iServerJava6R_SampleCode;component/Extension/CustomMarkerStyle.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MyMarkerStyle1 = ((SuperMap.Web.Core.PredefinedMarkerStyle)(this.FindName("MyMarkerStyle1")));
     this.MyMarkerStyle2 = ((SuperMap.Web.Core.PredefinedMarkerStyle)(this.FindName("MyMarkerStyle2")));
     this.MyMarkerStyle3 = ((SuperMap.Web.Core.PredefinedMarkerStyle)(this.FindName("MyMarkerStyle3")));
     this.MyMarkerStyle4 = ((SuperMap.Web.Core.PredefinedMarkerStyle)(this.FindName("MyMarkerStyle4")));
     this.MyMarkerStyle5 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle5")));
     this.MyMarkerStyle6 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle6")));
     this.MyMarkerStyle7 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle7")));
     this.MyMarkerStyle8 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle8")));
     this.MyMarkerStyle9 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle9")));
     this.MyMarkerStyle10 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle10")));
     this.MyMarkerStyle11 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle11")));
     this.MyMarkerStyle12 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle12")));
     this.MyMarkerStyle13 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle13")));
     this.MyMarkerStyle14 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle14")));
     this.MyMarkerStyle15 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle15")));
     this.MyMarkerStyle16 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle16")));
     this.MyMarkerStyle17 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle17")));
     this.MyMarkerStyle18 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle18")));
     this.MyMarkerStyle19 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle19")));
     this.MyMarkerStyle20 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle20")));
     this.MyMarkerStyle21 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle21")));
     this.MyMarkerStyle22 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle22")));
     this.MyMarkerStyle23 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle23")));
     this.MyMarkerStyle24 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle24")));
     this.MyMarkerStyle25 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle25")));
     this.MyMarkerStyle26 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle26")));
     this.MyMarkerStyle27 = ((SuperMap.Web.Core.MarkerStyle)(this.FindName("MyMarkerStyle27")));
     this.MyMap = ((SuperMap.Web.Mapping.Map)(this.FindName("MyMap")));
 }