User Tools

Site Tools


thinkgeo.mapsuite.silverlightcore.featurelayer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
thinkgeo.mapsuite.silverlightcore.featurelayer [2015/09/21 03:20]
admin
thinkgeo.mapsuite.silverlightcore.featurelayer [2017/03/16 21:59] (current)
Line 1: Line 1:
 ====== ThinkGeo.MapSuite.SilverlightCore.FeatureLayer ====== ====== ThinkGeo.MapSuite.SilverlightCore.FeatureLayer ======
 +
 +{{section>​upgrade_map_suite_to_10.0}}
 +
 This class represents a layer that is comprised of feature data. This class represents a layer that is comprised of feature data.
 ===== Inheritance Hierarchy ===== ===== Inheritance Hierarchy =====
Line 13: Line 16:
 ** {{wiki:​ProtectedMethod.gif|}} FeatureLayer() ** ** {{wiki:​ProtectedMethod.gif|}} FeatureLayer() **
  
-This is a constructor for this class.+  * //This is a constructor for this class.//
 == Remarks == == Remarks ==
-This is a constructor for this class.+  * //This is a constructor for this class.//
 == Parameters == == Parameters ==
 <div newline></​div>​ <div newline></​div>​
Line 21: Line 24:
 ** {{wiki:​PublicMethod.gif|}} Open() ** ** {{wiki:​PublicMethod.gif|}} Open() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 33: Line 36:
 ** {{wiki:​PublicMethod.gif|}} Close() ** ** {{wiki:​PublicMethod.gif|}} Close() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 45: Line 48:
 ** {{wiki:​PublicMethod.gif|}} GetBoundingBox() ** ** {{wiki:​PublicMethod.gif|}} GetBoundingBox() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 57: Line 60:
 ** {{wiki:​PublicMethod.gif|}} Draw(GeoCanvas,​Collection<​SimpleCandidate>​) ** ** {{wiki:​PublicMethod.gif|}} Draw(GeoCanvas,​Collection<​SimpleCandidate>​) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 77: Line 80:
 ** {{wiki:​PublicMethod.gif|}} ToString() ** ** {{wiki:​PublicMethod.gif|}} ToString() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 89: Line 92:
 ** {{wiki:​PublicMethod.gif|}} Equals(Object) ** ** {{wiki:​PublicMethod.gif|}} Equals(Object) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 105: Line 108:
 ** {{wiki:​PublicMethod.gif|}} GetHashCode() ** ** {{wiki:​PublicMethod.gif|}} GetHashCode() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 117: Line 120:
 ** {{wiki:​PublicMethod.gif|}} GetType() ** ** {{wiki:​PublicMethod.gif|}} GetType() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 130: Line 133:
 ** {{wiki:​ProtectedMethod.gif|}} OnDrawingFeatures(DrawingFeaturesEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnDrawingFeatures(DrawingFeaturesEventArgs) **
  
-This method raises the DrawingFeatures event.+  * //This method raises the DrawingFeatures event.//
 == Remarks == == Remarks ==
-You can call this method from a derived class to enable it to raise the event. This may be useful if you plan to extend the FeatureLayer and you need access to the event. This event is meant to allow you to add or remove the features to be drawn.+  * //You can call this method from a derived class to enable it to raise the event. This may be useful if you plan to extend the FeatureLayer and you need access to the event. This event is meant to allow you to add or remove the features to be drawn.//
  
 == Return Value == == Return Value ==
Line 146: Line 149:
 ** {{wiki:​ProtectedMethod.gif|}} OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 162: Line 165:
 ** {{wiki:​ProtectedMethod.gif|}} SetupTools() ** ** {{wiki:​ProtectedMethod.gif|}} SetupTools() **
  
-This method sets up the EditTools and QueryTools objects.+  * //This method sets up the EditTools and QueryTools objects.//
 == Remarks == == Remarks ==
-This method is the concrete wrapper for the abstract method SetupToolsCore. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.+  * //This method is the concrete wrapper for the abstract method SetupToolsCore. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.//
  
 == Return Value == == Return Value ==
Line 174: Line 177:
 ** {{wiki:​ProtectedMethod.gif|}} SetupToolsCore() ** ** {{wiki:​ProtectedMethod.gif|}} SetupToolsCore() **
  
-This method sets up the EditTools and QueryTools objects.+  * //This method sets up the EditTools and QueryTools objects.//
 == Remarks == == Remarks ==
-This method is the concrete wrapper for the abstract method SetupTools. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want.+  * //This method is the concrete wrapper for the abstract method SetupTools. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want.//
  
 == Return Value == == Return Value ==
Line 186: Line 189:
 ** {{wiki:​ProtectedMethod.gif|}} OpenCore() ** ** {{wiki:​ProtectedMethod.gif|}} OpenCore() **
  
-This method opens the FeatureLayer so that it is initialized and ready to use.+  * //This method opens the FeatureLayer so that it is initialized and ready to use.//
 == Remarks == == Remarks ==
-This abstract method is called from the concrete public method Open. The Open method plays an important role, as it is responsible for initializing the FeatureLayer. Most methods on the FeatureLayer will throw an exception if the state of the FeatureLayer is not opened. When the map draws each FeatureLayer,​ it will open the layer as one of its first steps, then after it is finished drawing with that FeatureLayer it will close it. In this way we are sure to release all resources used by the FeatureLayer.+  * //This abstract method is called from the concrete public method Open. The Open method plays an important role, as it is responsible for initializing the FeatureLayer. Most methods on the FeatureLayer will throw an exception if the state of the FeatureLayer is not opened. When the map draws each FeatureLayer,​ it will open the layer as one of its first steps, then after it is finished drawing with that FeatureLayer it will close it. In this way we are sure to release all resources used by the FeatureLayer.//
  
 == Return Value == == Return Value ==
Line 198: Line 201:
 ** {{wiki:​ProtectedMethod.gif|}} CloseCore() ** ** {{wiki:​ProtectedMethod.gif|}} CloseCore() **
  
-This method closes the FeatureSource and releases any resources it was using.+  * //This method closes the FeatureSource and releases any resources it was using.//
 == Remarks == == Remarks ==
-This protected virtual method is called from the concrete public method Close. The close method plays an important role in the life cycle of the FeatureLayer. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called. If you override this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method so that that a call to a closed FeatureLayer is ignored and does not generate an error. We also suggest that in the Close you free all resources that have been opened. Remember that the object will not be destroyed, but will be re-opened possibly in the near future.+  * //This protected virtual method is called from the concrete public method Close. The close method plays an important role in the life cycle of the FeatureLayer. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called. If you override this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method so that that a call to a closed FeatureLayer is ignored and does not generate an error. We also suggest that in the Close you free all resources that have been opened. Remember that the object will not be destroyed, but will be re-opened possibly in the near future.//
  
 == Return Value == == Return Value ==
Line 210: Line 213:
 ** {{wiki:​ProtectedMethod.gif|}} GetBoundingBoxCore() ** ** {{wiki:​ProtectedMethod.gif|}} GetBoundingBoxCore() **
  
-This method returns the bounding box of the FeatureLayer.+  * //This method returns the bounding box of the FeatureLayer.//
 == Remarks == == Remarks ==
-This method is called from the concrete public method GetBoundingBox. It returns the bounding box of the FeatureLayer.+  * //This method is called from the concrete public method GetBoundingBox. It returns the bounding box of the FeatureLayer.//
  
 == Return Value == == Return Value ==
Line 222: Line 225:
 ** {{wiki:​ProtectedMethod.gif|}} DrawCore(GeoCanvas,​Collection<​SimpleCandidate>​) ** ** {{wiki:​ProtectedMethod.gif|}} DrawCore(GeoCanvas,​Collection<​SimpleCandidate>​) **
  
-This method will draw the FeatureLayer source based on the parameters provided.+  * //This method will draw the FeatureLayer source based on the parameters provided.//
 == Remarks == == Remarks ==
-The DrawCore will be called when the layer is being drawn. It will check if the InternalFeatures are within the extent and whether it is within a defined zoom level. If these parameters are met, then it will apply the styles of the proper zoom level to the InternalFeatures for drawing. Lastly, it will draw InternalFeatures on the GeoImage or native image passed in to the method.+  * //The DrawCore will be called when the layer is being drawn. It will check if the InternalFeatures are within the extent and whether it is within a defined zoom level. If these parameters are met, then it will apply the styles of the proper zoom level to the InternalFeatures for drawing. Lastly, it will draw InternalFeatures on the GeoImage or native image passed in to the method.//
  
 == Return Value == == Return Value ==
Line 242: Line 245:
 ** {{wiki:​ProtectedMethod.gif|}} DrawException(GeoCanvas,​Exception) ** ** {{wiki:​ProtectedMethod.gif|}} DrawException(GeoCanvas,​Exception) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 262: Line 265:
 ** {{wiki:​ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,​Exception) ** ** {{wiki:​ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,​Exception) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 282: Line 285:
 ** {{wiki:​ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ** ** {{wiki:​ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 298: Line 301:
 ** {{wiki:​ProtectedMethod.gif|}} Finalize() ** ** {{wiki:​ProtectedMethod.gif|}} Finalize() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
Line 310: Line 313:
 ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() ** ** {{wiki:​ProtectedMethod.gif|}} MemberwiseClone() **
  
-N/A+  * //N/A//
 == Remarks == == Remarks ==
-N/A+  * //N/A//
  
 == Return Value == == Return Value ==
thinkgeo.mapsuite.silverlightcore.featurelayer.1442805639.txt.gz · Last modified: 2015/09/21 03:20 by admin