====== ThinkGeo.MapSuite.MvcEdition.LayerOverlay ====== {{section>upgrade_map_suite_to_10.0}} Represents an Overlay that contains layers. ===== Inheritance Hierarchy ===== *System.Object *ThinkGeo.MapSuite.MvcEdition.Overlay ***ThinkGeo.MapSuite.MvcEdition.LayerOverlay** ===== Members Summary ===== ==== Public Constructors ==== ** {{wiki:PublicMethod.gif|}} LayerOverlay() ** * //Initialize an instance of the LayerOverlay class.// == Remarks == * //N/A// == Parameters ==
** {{wiki:PublicMethod.gif|}} LayerOverlay(String) ** * //Initialize an instance of the LayerOverlay class with the overlay identifier specified.// == Remarks == * //N/A// == Parameters == * //id// * Type:String * Description:The identifier string used to retrieve the overlay for collection.
** {{wiki:PublicMethod.gif|}} LayerOverlay(String,Boolean,TileType) ** * //Initialize an instance of the LayerOverlay class with the overlay identifier, IsBaseOverlay boolean value and the value indicating whether to use tiling.// == Remarks == * //N/A// == Parameters == * //id// * Type:String * Description:The identifier string used to retrieve the overlay for collection. * //isBaseOverlay// * Type:Boolean * Description:A boolean value that indicates whether this overlay is a base overlay. * //tileType// * Type:[[ThinkGeo.MapSuite.MvcEdition.TileType|TileType]] * Description:The TileType that indicates whether this overlay uses tiling.
==== Protected Constructors ==== ==== Public Methods ==== ** {{wiki:PublicMethod.gif|}} SetBaseEpsgProjection(String) ** * //Sets the EPSG projection of the LayerOverlay when it is a base overlay.// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //epsgProjection// * Type:String * Description:A string that represents the projection of the LayerOverlay.
** {{wiki:PublicMethod.gif|}} GetBaseEpsgProjection() ** * //Returns an EPSG string that indicates the projection of the LayerOverlay.// == Remarks == * //N/A// == Return Value == * Type:String * Description:An EPSG string that indicates the projection of the LayerOverlay. == Parameters ==
** {{wiki:PublicMethod.gif|}} DataBindTo(String,String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //controllerName// * Type:String * Description:N/A * //actionName// * Type:String * Description:N/A
** {{wiki:PublicMethod.gif|}} GetBoundingBox() ** * //Gets the smallest extent that includes all of the features of all layers in the LayerOverlay.// == Remarks == * //If you have several layers, with one justified up and to the right and another justified down and to the left, this method will combine all of the current extents to make one composite extent.// == Return Value == * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:The smallest extent that includes all of the features of all layers in the LayerOverlay. == Parameters ==
** {{wiki:PublicMethod.gif|}} Draw(GeoCanvas,Object,RectangleShape,GeographyUnit) ** * //Draw all of the layers to the image object using the parameters specified.// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] * Description:The GeoCanvas object that the layers will draw on. * //nativeImage// * Type:Object * Description:The image object to which all of the layers will be drawn. Usually it is a bitmap. * //canvasExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:The extent in which the features of the layers will be drawn. * //mapUnit// * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * Description:The geographic unit that the map will use to draw.
** {{wiki:PublicMethod.gif|}} Redraw() ** * //Redraw this overlay.// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GenerateCacheImages(ZoomLevel,RectangleShape,GeographyUnit) ** * //Generates images to the server cache by zoomLevel.// == Remarks == * //This method will generate images to the server cache if you enable the ServerCache on this LayerOverlay. You can use this method to fill your server cache to enhance the performance of your web site.// == Return Value == * Type:Void * Description:N/A == Parameters == * //zoomLevel// * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] * Description:The zoomlevel at which the images will be generated. * //cacheExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:The extent of the region for which the cached images will be generated. * //mapUnit// * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * Description:The unit of map.
** {{wiki:PublicMethod.gif|}} GenerateCacheImages(Double,RectangleShape,GeographyUnit) ** * //Generates the images to the server cache by scale.// == Remarks == * //This method will generate images to the server cache if you enable the ServerCache on this LayerOverlay. You can use this method to fill your server cache to enhance the performance of your web site.// == Return Value == * Type:Void * Description:N/A == Parameters == * //scale// * Type:Double * Description:The scale that is used to calculate the coordinates of the images. * //cacheExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:The extent of the region for which the cache images will be generated. * //mapUnit// * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * Description:The unit of map.
** {{wiki:PublicMethod.gif|}} ToJson() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} FromJson(String) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //jsonString// * Type:String * Description:N/A
** {{wiki:PublicMethod.gif|}} ToString() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:String * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} Equals(Object) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Boolean * Description:N/A == Parameters == * //obj// * Type:Object * Description:N/A
** {{wiki:PublicMethod.gif|}} GetHashCode() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Int32 * Description:N/A == Parameters ==
** {{wiki:PublicMethod.gif|}} GetType() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Type * Description:N/A == Parameters ==
==== Protected Methods ==== ** {{wiki:ProtectedMethod.gif|}} DrawCore(GeoCanvas,Object,RectangleShape,GeographyUnit) ** * //Draw all of the layers to the image object using the parameters specified.// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //canvas// * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] * Description:The GeoCanvas object that the layers will draw on. * //nativeImage// * Type:Object * Description:The image object to which all of the layers will be drawn. Usually it is a bitmap. * //canvasExtent// * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] * Description:The extent in which the features of the layers will be drawn. * //mapUnit// * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] * Description:The geographic unit that the map will use to draw.
** {{wiki:ProtectedMethod.gif|}} EhQ=(Page) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //page// * Type:Page * Description:N/A
** {{wiki:ProtectedMethod.gif|}} RegisterJavaScriptLibraryCore(Page) ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters == * //page// * Type:Page * Description:N/A
** {{wiki:ProtectedMethod.gif|}} Finalize() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Void * Description:N/A == Parameters ==
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** * //N/A// == Remarks == * //N/A// == Return Value == * Type:Object * Description:N/A == Parameters ==
==== Public Properties ==== ** {{wiki:PublicProperty.gif|}} TileWidth ** Gets or sets the width of each tile if the layer is in MultipleTile mode. == Remarks == N/A == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} TileHeight ** Gets or sets the height of each tile if the layer is in MultipleTile mode. == Remarks == N/A == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} TransitionEffect ** Gets or sets the transition effect to use when the map is zoomed. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.TransitionEffect|TransitionEffect]] ** {{wiki:PublicProperty.gif|}} TransitionEffectDelayInMilliseconds ** N/A == Remarks == N/A == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} TileType ** Gets or sets whether or not the LayerOverlay uses tiling. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.TileType|TileType]] ** {{wiki:PublicProperty.gif|}} TileMargin ** Gets or sets the number of extra rows and colums of tiles on each side that will surround the minimum grid tiles to cover the map. Used only when in MultipleTile mode. == Remarks == N/A == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} ServerCache ** Gets or sets the server cache in the overlay. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.ServerCache|ServerCache]] ** {{wiki:PublicProperty.gif|}} ClientCache ** Gets or sets the ClientCache object that contains the configuration for the browser cache of this overlay. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.ClientCache|ClientCache]] ** {{wiki:PublicProperty.gif|}} WebImageFormat ** Gets or sets the format of the image that is sent to the web browser. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.WebImageFormat|WebImageFormat]] ** {{wiki:PublicProperty.gif|}} JpegQuality ** Gets or sets the quality of the JPEG image that is sent to the web browser. Valid values are between 1 - 100, inclusive. == Remarks == The JpegQuality property determines the quality of the JPEG image that is sent to the browser if the WebImageFormat is Jpeg. Setting this property to a lower value will reduce the image filesize. The value must be between 1 - 100. The default is 100. == Return Value == * Type:Int32 ** {{wiki:PublicProperty.gif|}} IsMultiThreadDisabled ** Gets or sets whether the multi-thread is disabled or not. == Remarks == N/A == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} Layers ** Gets a GeoCollection that contains the layers that will draw on the image that is sent to the browser. == Remarks == The Layers property holds all of the layers that are used by the Draw method. The Draw method loops through all layers to filter out features and draw with specified styles to the image that will be sent to the browser. == Return Value == * Type:[[ThinkGeo.MapSuite.Core.GeoCollection[[ThinkGeo.MapSuite.Core.Layer, MapSuiteCore, Version=9.0.0.0, Culture=neutral, PublicKeyToken=null]]|GeoCollection]] ** {{wiki:PublicProperty.gif|}} IsVisible ** Gets or sets a value that indicates whether the overlay is visible on the map. == Remarks == N/A == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} WrapDateline ** Gets or sets a value that indicates whether the overlay wraps at the date line. == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.WrapDatelineMode|WrapDatelineMode]] ** {{wiki:PublicProperty.gif|}} ActionTriggers ** N/A == Remarks == N/A == Return Value == * Type:Collection<[[ThinkGeo.MapSuite.MvcEdition.ActionTrigger|ActionTrigger]]> ** {{wiki:PublicProperty.gif|}} Name ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} Opacity ** N/A == Remarks == N/A == Return Value == * Type:Single ** {{wiki:PublicProperty.gif|}} IsVisibleInOverlaySwitcher ** N/A == Remarks == N/A == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} IsBaseOverlay ** N/A == Remarks == N/A == Return Value == * Type:Boolean ** {{wiki:PublicProperty.gif|}} Id ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} OnClientAutoRefreshTick ** N/A == Remarks == N/A == Return Value == * Type:String ** {{wiki:PublicProperty.gif|}} AutoRefreshInterval ** N/A == Remarks == N/A == Return Value == * Type:TimeSpan ** {{wiki:PublicProperty.gif|}} Attribution ** N/A == Remarks == N/A == Return Value == * Type:String ==== Protected Properties ==== ** {{wiki:ProtectedProperty.gif|}} OverlayType ** Gets a string that indicates the overlay type. == Remarks == N/A == Return Value == * Type:String ** {{wiki:ProtectedProperty.gif|}} ExtraParameter ** Gets or sets extra parameters for current overlay. == Remarks == N/A == Return Value == * Type:String ** {{wiki:ProtectedProperty.gif|}} Projection ** Gets or sets projection of current overlay for requesting images. == Remarks == N/A == Return Value == * Type:String ** {{wiki:ProtectedProperty.gif|}} TRU= ** N/A == Remarks == N/A == Return Value == * Type:[[ThinkGeo.MapSuite.MvcEdition.ActionBinding|ActionBinding]] ** {{wiki:ProtectedProperty.gif|}} ERQ= ** N/A == Remarks == N/A == Return Value == * Type:Double ==== Public Events ====