Skip to main content
All docs
V26.1
  • GeoJsonFileDataAdapter Members

    A data adapter that loads data from GeoJSON files, and displays it on vector layers.

    Constructors

    Name Description
    GeoJsonFileDataAdapter() Initializes a new instance of the GeoJsonFileDataAdapter class.

    Fields

    Name Description
    ClustererProperty static Identifies the MapDataAdapterBase.Clusterer dependency property. Inherited from MapDataAdapterBase.
    FileUriProperty static Identifies the MapGeoDataAdapter.FileUri dependency property. Inherited from MapGeoDataAdapter.

    Properties

    Name Description
    Clusterer Gets or sets the clusterer that aggregates map items. Inherited from MapDataAdapterBase.
    DisplayItems Returns map items which are displayed by a map control. Inherited from MapDataAdapterBase.
    FileUri Gets or sets a Uri that defines the location of a shape data file. Inherited from MapGeoDataAdapter.

    Methods

    Name Description
    GetItemBySourceObject(Object) Gets a map item by the source object. Inherited from MapDataAdapterBase.
    GetItemSourceObject(MapItem) Returns the source object of the specified map item. Inherited from MapGeoDataAdapter.
    LoadData() Loads data from the specified data source. Inherited from MapDataAdapterBase.
    LoadFromStream(Stream, String) Loads map items from the specified stream and items resources from the specified path. Inherited from MapGeoDataAdapter.
    LoadFromStream(Stream) Loads map items from the specified stream. Inherited from MapGeoDataAdapter.
    OnClustered() Called after the clusterization is finished. Inherited from MapDataAdapterBase.
    OnViewportUpdated(MapViewport) Called every time the viewport is changed. Inherited from MapDataAdapterBase.
    Parse(String) Parses the passed string in the KML, GeoJson or GPX format to create map items that the string specifies. Inherited from MapGeoDataAdapter.

    Events

    Name Description
    PropertyChanged Occurs every time any of the MapDependencyObject class properties has changed its value. Inherited from MapDependencyObject.
    ShapesLoaded Occurs when vector items have been loaded. Inherited from MapGeoDataAdapter.
    See Also