User Tools

Site Tools


thinkgeo.mapsuite.silverlightedition.markerzoomlevelset

This is an old revision of the document!


ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet

<!– Class –> This class represents a collection of MarkerZoomLevel that determines the appearance of markers at different zoomlevels.

Remarks

This class represents a collection of <strong>MarkerZoomLevel</strong>. Each <strong>MarkerZoomLevel</strong> has a different scale and style definition which will be applied to markers when it is the current zoomlevel.

The MarkerZoomLevelSet decides which zoomlevel applys its styles to the markers base on the current zoomlevel.

If current zoomlevel is level 03 and we defined the styles on zoomlevel as below:

markerOverlay.ZoomLevelSet.ZoomLevel04.DefaultMarkerStyle.WebImage = …; markerOverlay.ZoomLevelSet.ZoomLevel04.DefaultMarkerStyle.Popup = …; markerOverlay.ZoomLevelSet.ZoomLevel04.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level10;

then no zoomlevel will apply styles to the markers. There will be no markers display on the screen.

When we change the current zoomlevel to level 04, now current zoomlevel falls into the zoomlevel range (04-10) that defines styles. The ZoomlevelSet will apply the styles on the zoomlevel 04 to the markers.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodMarkerZoomLevelSet Initialize a new instance of the MarkerZoomLevelSet class.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object
Public MethodGetHashCode Object
Public MethodGetType Object
Public MethodGetZoomLevelForDrawing Int32 Returns the MarkerZoomLevel object whose styles will be applies to the markers base on the current zoomlevel that passed in.
Public MethodToString Object

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyCustomZoomLevels Collection<MarkerZoomLevel> Gets a MarkerZoomLevel collection that is used for you to define your own custom zoomlevels.
Public PropertyZoomLevel01 MarkerZoomLevel Gets the MarkerZoomLevel for Level01.
Public PropertyZoomLevel02 MarkerZoomLevel Gets the MarkerZoomLevel for Level02.
Public PropertyZoomLevel03 MarkerZoomLevel Gets the MarkerZoomLevel for Level03.
Public PropertyZoomLevel04 MarkerZoomLevel Gets the MarkerZoomLevel for Level04.
Public PropertyZoomLevel05 MarkerZoomLevel Gets the MarkerZoomLevel for Level05.
Public PropertyZoomLevel06 MarkerZoomLevel Gets the MarkerZoomLevel for Level06.
Public PropertyZoomLevel07 MarkerZoomLevel Gets the MarkerZoomLevel for Level07.
Public PropertyZoomLevel08 MarkerZoomLevel Gets the MarkerZoomLevel for Level08.
Public PropertyZoomLevel09 MarkerZoomLevel Gets the MarkerZoomLevel for Level09.
Public PropertyZoomLevel10 MarkerZoomLevel Gets the MarkerZoomLevel for Level10.
Public PropertyZoomLevel11 MarkerZoomLevel Gets the MarkerZoomLevel for Level11.
Public PropertyZoomLevel12 MarkerZoomLevel Gets the MarkerZoomLevel for Level12.
Public PropertyZoomLevel13 MarkerZoomLevel Gets the MarkerZoomLevel for Level13.
Public PropertyZoomLevel14 MarkerZoomLevel Gets the MarkerZoomLevel for Level14.
Public PropertyZoomLevel15 MarkerZoomLevel Gets the MarkerZoomLevel for Level15.
Public PropertyZoomLevel16 MarkerZoomLevel Gets the MarkerZoomLevel for Level16.
Public PropertyZoomLevel17 MarkerZoomLevel Gets the MarkerZoomLevel for Level17.
Public PropertyZoomLevel18 MarkerZoomLevel Gets the MarkerZoomLevel for Level18.
Public PropertyZoomLevel19 MarkerZoomLevel Gets the MarkerZoomLevel for Level19.
Public PropertyZoomLevel20 MarkerZoomLevel Gets the MarkerZoomLevel for Level20.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

MarkerZoomLevelSet()

Initialize a new instance of the MarkerZoomLevelSet class.

Parameters

Name Type Description

Go Back

Protected Constructors

Public Methods

Equals(Object)

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object –> Go Back

GetHashCode()

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

GetZoomLevelForDrawing(Int32)

Returns the MarkerZoomLevel object whose styles will be applies to the markers base on the current zoomlevel that passed in.

Return Value

Return Type Description
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

Parameters

Name Type Description
currentZoomLevelId Int32<!– System.Int32 –> An int value that indicates which zoomlevel is the current zoomlevel. The int value can only be in 1-20.

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

CustomZoomLevels

Gets a MarkerZoomLevel collection that is used for you to define your own custom zoomlevels.

Remarks

When you add custom zoomlevels to the CustomZoomLevels collection, the default ZoomLevel01-20 will be disabled. The zoomLevels in the CustomZoomLevels are matched with the scales defined in the Map.ClientZoomLevelScales. For example,

CustomZoomLevelsmain_page has the scale that equals to Map.ClientZoomLevelScalesmain_page.

Return Value

Return Type
Collection<MarkerZoomLevel><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel} –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel01

Gets the MarkerZoomLevel for Level01.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel02

Gets the MarkerZoomLevel for Level02.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel03

Gets the MarkerZoomLevel for Level03.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel04

Gets the MarkerZoomLevel for Level04.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel05

Gets the MarkerZoomLevel for Level05.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel06

Gets the MarkerZoomLevel for Level06.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel07

Gets the MarkerZoomLevel for Level07.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel08

Gets the MarkerZoomLevel for Level08.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel09

Gets the MarkerZoomLevel for Level09.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel10

Gets the MarkerZoomLevel for Level10.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel11

Gets the MarkerZoomLevel for Level11.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel12

Gets the MarkerZoomLevel for Level12.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel13

Gets the MarkerZoomLevel for Level13.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel14

Gets the MarkerZoomLevel for Level14.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel15

Gets the MarkerZoomLevel for Level15.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel16

Gets the MarkerZoomLevel for Level16.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel17

Gets the MarkerZoomLevel for Level17.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel18

Gets the MarkerZoomLevel for Level18.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel19

Gets the MarkerZoomLevel for Level19.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

ZoomLevel20

Gets the MarkerZoomLevel for Level20.

Return Value

Return Type
MarkerZoomLevel<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevel –>

<!– ThinkGeo.MapSuite.SilverlightEdition.MarkerZoomLevelSet –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.silverlightedition.markerzoomlevelset.1440040134.txt.gz · Last modified: 2015/09/21 03:28 (external edit)