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 layer can show or hide one or many zones that you want to restrict from being displayed. You can use the specified style to decorate the zones and set the lower/upper scale to control at which zoom levels you want to show or hide the zones. The default decoration style is a hatch pattern. You can change this to a circle with slash image, or, if you want a different look, you can use custom styles.
N/A
RestrictionLayer(IEnumerable<AreaBaseShape>)
Initializes a new instance of the RestictionLayer class for the specified zones.
N/A
RestrictionLayer(IEnumerable<AreaBaseShape>,RestrictionMode)
Initializes a new instance of the RestictionLayer class for the specified zones and restriction mode.
N/A
RestrictionLayer(IEnumerable<AreaBaseShape>,RestrictionMode,Double,Double)
Initializes a new instance of the RestictionLayer class for the specified zones, restriction mode, upper scale and lower scale.
N/A
N/A
N/A
N/A
N/A
N/A
RequestDrawing(RectangleShape,TimeSpan)
N/A
N/A
RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)
N/A
N/A
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)
N/A
N/A
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)
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 method returns the bounding box of the zones.
This abstract method is called from the concrete public method Draw. This method draws the representation of the layer based on the extent you provided. When implementing this abstract method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.
OnRequestedDrawing(RequestedDrawingLayerEventArgs)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
DrawExceptionCore(GeoCanvas,Exception)
N/A
N/A
OnDrawingException(DrawingExceptionLayerEventArgs)
N/A
N/A
N/A
N/A
OnDrawingAttribution(DrawingAttributionLayerEventArgs)
N/A
N/A
N/A
N/A
N/A
N/A
If Restriction mode is ShowZones:If currentScale is greater than UpperScale, it will hide the whole map; otherwise, it will show the specified zones.If Restriction mode is HideZones:If currentScale is less than or equal to UpperScale and greater than or equal to LowerScale, it will hide the specified zones; otherwise, it will do nothing.
If Restriction mode is ShowZones:If currentScale is less than LowerScale, it will hide the whole map; otherwise, it will show the specified zones.If Restriction mode is HideZones:if currentScale is less than or equal to UpperScale and greater than or equal to LowerScale, it will hide the specified zones; otherwise it will do nothing.
Allows you to add custom styles to decorate restriction zones. In this case, you must set RestrictionStyle to UseCustomStyles as well.
N/A
Specifies whether you want to show or hide zones.
N/A
N/A
Specifies the display style of the restriction zones.
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
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.