User Tools

Site Tools


thinkgeo.mapsuite.silverlightcore.tinygeofeaturelayer

ThinkGeo.MapSuite.SilverlightCore.TinyGeoFeatureLayer

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class represents a FeatureLayer of TinyGeo File by ThinkGeo.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.SilverlightCore.Layer
      • ThinkGeo.MapSuite.SilverlightCore.FeatureLayer
        • ThinkGeo.MapSuite.SilverlightCore.TinyGeoFeatureLayer

Members Summary

Public Constructors

TinyGeoFeatureLayer()

This is the class constructor.

Remarks

None

Parameters

TinyGeoFeatureLayer(String)

This is the class constructor.

Remarks

None

Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:N/A

Protected Constructors

Public Methods

Open()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Close()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

GetBoundingBox()

N/A

Remarks

N/A

Return Value
Parameters

Draw(GeoCanvas,Collection<SimpleCandidate>)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

ToString()

N/A

Remarks

N/A

Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

N/A

Remarks

N/A

Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

N/A

Remarks

N/A

Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

N/A

Remarks

N/A

Return Value
  • Type:Type
  • Description:N/A
Parameters

CreateTinyGeoFile(String,String,GeographyUnit,ReturningColumnsType)

Static API to create a new TinyGeo file from an existed shape file.

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • returningColumnType
    • Description:This parameter specifies whether the columns info in shape file will be copied to TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,ReturningColumnsType,Double)

Static API to create a new TinyGeo file from an existed shape file.

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • returningColumnType
    • Description:This parameter specifies whether the columns info in shape file will be copied to TinyGeo file.
  • precisionInMeter
    • Type:Double
    • Description:This parameter spcifies in double what is the precision in Meter of the target TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,IEnumerable<String>)

Static API to create a new TinyGeo file from an existed shape file.

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • columnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns in shape file which will be copied to TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,IEnumerable<String>,Double)

Static API to create a new TinyGeo file from an existed shape file.

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • columnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns in shape file which will be copied to TinyGeo file.
  • precisionInMeter
    • Type:Double
    • Description:This parameter spcifies in double what is the precision in Meter of the target TinyGeo file.

CreateTinyGeoFile(String,String,GeographyUnit,IEnumerable<String>,Double,Encoding)

Static API to create a new TinyGeo file from an existed shape file.

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • tinyGeoPathFileName
    • Type:String
    • Description:This parameter specifies the file name for the target TinyGeo file.
  • shapePathFileName
    • Type:String
    • Description:This parameter specifies the file name for the existed shape file.
  • unitOfData
    • Description:This parameter specifies the Geography Unit of the data.
  • columnNames
    • Type:IEnumerable<String>
    • Description:This parameter specifies the columns in shape file which will be copied to TinyGeo file.
  • precisionInMeter
    • Type:Double
    • Description:This parameter spcifies in double what is the precision in Meter of the target TinyGeo file.
  • shapeEncoding
    • Type:Encoding
    • Description:This parameter specifies the encoding of the existed shape file.

GetOptimalPrecision(String,GeographyUnit,DistanceUnit,TinyGeoPrecisionMode)

N/A

Remarks

N/A

Return Value
  • Type:Double
  • Description:N/A
Parameters
  • shapePathFileName
    • Type:String
    • Description:N/A

Protected Methods

OnDrawingFeatures(DrawingFeaturesEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

SetupTools()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

SetupToolsCore()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

OpenCore()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

CloseCore()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

GetBoundingBoxCore()

N/A

Remarks

N/A

Return Value
Parameters

DrawCore(GeoCanvas,Collection<SimpleCandidate>)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

DrawException(GeoCanvas,Exception)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:Exception
    • Description:N/A

DrawExceptionCore(GeoCanvas,Exception)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:Exception
    • Description:N/A

OnDrawingProgressChanged(DrawingProgressChangedEventArgs)

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

Finalize()

N/A

Remarks

N/A

Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

N/A

Remarks

N/A

Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

HasBoundingBox

N/A

Remarks

N/A

Return Value
  • Type:Boolean

TinyGeoPathFileName

This property returns the path and file of the TinyGeo file you want to use.

Remarks

When you specify the path and file name it should be in the correct format as such however the file does not need to exists on the file system. This is to allow us to accept streams supplied by the developer at runtime. If you choose to provide a file that exists then we will attempt to use it. If we cannot find it then we will raise the SteamLoading event and allow you to supply the stream. For example you can pass in “C:\NotARealPath\File1.tgeo” which does not exists on the file system. When we raise the event for you to supply a stream we will pass to you the path and file name for you to differentiate the files.

Return Value
  • Type:String

WrappingExtent

N/A

Remarks

N/A

Return Value

WrappingMode

N/A

Remarks

N/A

Return Value

EditTools

N/A

Remarks

N/A

Return Value

FeatureIdsToExclude

N/A

Remarks

N/A

Return Value
  • Type:Collection<String>

QueryTools

N/A

Remarks

N/A

Return Value

FeatureSource

N/A

Remarks

N/A

Return Value

ZoomLevelSet

N/A

Remarks

N/A

Return Value

DrawingMarginPercentage

N/A

Remarks

N/A

Return Value
  • Type:Double

IsOpen

N/A

Remarks

N/A

Return Value
  • Type:Boolean

DrawingTime

N/A

Remarks

N/A

Return Value
  • Type:TimeSpan

Name

N/A

Remarks

N/A

Return Value
  • Type:String

IsVisible

N/A

Remarks

N/A

Return Value
  • Type:Boolean

DrawingExceptionMode

N/A

Remarks

N/A

Return Value

Protected Properties

IsOpenCore

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Public Events

StreamLoading This event allows you to pass in your own stream to represent the files.

Remarks

If you choose you can pass in your own stream to represent the file. The stream can come from a variety of places such as isolated storage, a compressed file, and encrypted stream. When the Image is finished with the stream it will dispose of it so be sure to keep this in mind when passing the stream in. If you do not pass in a alternate stream the class will attempt to load the file from the file system using the TinyGeoPathFileName property.

Event Arguments:StreamLoadingEventArgs

DrawingFeatures N/A

Remarks

N/A

Event Arguments:DrawingFeaturesEventArgs

DrawingWrappingFeatures N/A

Remarks

N/A

Event Arguments:DrawingWrappingFeaturesFeatureLayerEventArgs

DrawingProgressChanged N/A

Remarks

N/A

Event Arguments:DrawingProgressChangedEventArgs

thinkgeo.mapsuite.silverlightcore.tinygeofeaturelayer.txt · Last modified: 2017/03/16 21:59 (external edit)