Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
This class represents a layer that is comprised of feature data.
RequestDrawing(RectangleShape,TimeSpan)
RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)
DrawFeaturesWithStyleFilters(GeoCanvas,Dictionary<String,Collection<Feature»,Collection<SimpleCandidate>,ZoomLevel,RectangleShape)
OnDrawingFeatures(DrawingFeaturesEventArgs)
OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs)
DrawCore(GeoCanvas,Collection<SimpleCandidate>)
DrawExceptionCore(GeoCanvas,Exception)
OnDrawingException(DrawingExceptionLayerEventArgs)
OnDrawingAttribution(DrawingAttributionLayerEventArgs)
GetFeaturesForDrawingWithStyleFilters(GeoCanvas,FeatureSource,IEnumerable<String>,IEnumerable<String>,RectangleShape,ZoomLevel)
GetFeaturesByIdsWithStyleFilters(FeatureSource,IEnumerable<String>,IEnumerable<String>,IEnumerable<String>,RectangleShape,ZoomLevel)
ApplyDrawingMargin(RectangleShape,Single,Single,Single)
N/A
N/A
This property gets the EditTools that allow you to easily edit InternalFeatures in the Feature Layer.
The EditTools are supplied as an easily accessible wrapper for the editing methods of the FeatureSource.
A collection of strings representing record id of features not to get in the Layer.
This string collection is a handy place to specify what records not to get from the source. Suppose you have a shape file of roads and you want to hide the roads within a particular rectangle, simply execute GetFeaturesInsideBoundingBox() and add the id of the return features to the collection and forget about them. Since you can set this by Layer it makes is easy to determine what to and what not to.
This property gets the QueryTools that allow you to easily query Features from the Feature Layer.
This property gets the QueryTools that allow you to easily query Features from the Feature Layer. The QueryTools are supplied as an easily accessible wrapper for the query methods of the FeatureSource.
N/A
The FeatureSource is the provider of data to the FeatureLayer. There are different FeatureSource classes to match the various ways that feature data is stored. It is important that, when you inherit from the FeatureLayer, in the constructor you set the FeatureSource you want to use.
This property gets and sets the general drawing quality for the FeatureLayer's canvas.
The DrawingQuality enumeration allows you to control, in a macro sense, the drawing quality that will be used in the GeoCanvas. Each GeoCanvas, which is responsible for drawing of the features, may have its own specialized drawing quality properties. What the DrawingQuality enumeration does is define some general guidelines for each GeoCanvas. For example, if you set the DrawingQuality to HighSpeed, then inside of the GdiPlusGeoCanvas there is a profile for HighSpeed. This profile sets specific properties, such as the smoothing mode and composing drawing mode of the GdiPlusGeoCanvas. As each GeoCanvas may have different drawing quality properties, this offers a general way to control drawing quality and speed. If you need complete control over how a specific GeoCanvas will draw, then you can set the DrawingQuality to Custom. This will tell the specific GeoCanvas to use the properties on its own object instead of one of the pre-defined profiles. If one of the profiles – such as HighSpeed or HighQuality – is set, then the specific GeoCanvas ignores its own properties for drawing quality.
This property gets and sets the ZoomLevelSet, which contains the specific zoom levels for the FeatureLayer.
The ZoomLevelSet is a class that contains all of the ZoomLevels for the FeatureLayer. Each ZoomLevel contains the styles that are used to determine how to draw the InternalFeatures.
This property gets and sets the extra drawing margin as a percentage around the map that draw to ensure that labeling is correct.
This extra margin that we draw exists so that labels match up if they are partially cut off.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
This property returns true if the FeatureLayer is open and false if it is not.
Various methods on the FeatureLayer require that it be in an open state. If one of those methods is called when the state is not open, then the method will throw an exception. To enter the open state, you must call the FeatureLayer Open method. The method will raise an exception if the current FeatureLayer is already open.
This event is raised when features are about to be drawn in the layer. In the event arguments, there is a collection of features to be drawn. You can easily add or remove items from this collection so that extra items will draw or not draw.
Event Arguments:DrawingFeaturesEventArgs
N/A
Event Arguments:DrawnAttributionLayerEventArgs
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.