dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Model

SpriteSourceImageInfo Class

Defines sprite source from an image and index json when the setSpriteSource() method is called.
ArcGIS Maps SDK for JavaScript

public class SpriteSourceImageInfo :
dymaptic.GeoBlazor.Core.Interfaces.IVectorTileLayerSpriteSourceInfo,
System.IEquatable<dymaptic.GeoBlazor.Core.Model.SpriteSourceImageInfo>

Inheritance System.Object 🡒 SpriteSourceImageInfo

Implements IVectorTileLayerSpriteSourceInfo, System.IEquatable<SpriteSourceImageInfo>

Constructors

SpriteSourceImageInfo(Nullable, SpriteSourceImageInfoSpriteSource1x, SpriteSourceImageInfoSpriteSource2x, string) Constructor

Defines sprite source from an image and index json when the setSpriteSource() method is called.
ArcGIS Maps SDK for JavaScript

public SpriteSourceImageInfo(System.Nullable<double> PixelRatio=null, dymaptic.GeoBlazor.Core.Model.SpriteSourceImageInfoSpriteSource1x? SpriteSource1x=null, dymaptic.GeoBlazor.Core.Model.SpriteSourceImageInfoSpriteSource2x? SpriteSource2x=null, string? SpriteUrl=null);

Parameters

PixelRatio System.Nullable<System.Double>

The device pixel ratio of the sprite source.
ArcGIS Maps SDK for JavaScript

SpriteSource1x SpriteSourceImageInfoSpriteSource1x

Sprite source for non high-DPI devices.
ArcGIS Maps SDK for JavaScript

SpriteSource2x SpriteSourceImageInfoSpriteSource2x

Sprite source for high-DPI devices.
ArcGIS Maps SDK for JavaScript

SpriteUrl System.String

The sprite source url.
ArcGIS Maps SDK for JavaScript

Properties

SpriteSourceImageInfo.PixelRatio Property

The device pixel ratio of the sprite source.
ArcGIS Maps SDK for JavaScript

public System.Nullable<double> PixelRatio { get; set; }

Property Value

System.Nullable<System.Double>

SpriteSourceImageInfo.SpriteSource1x Property

Sprite source for non high-DPI devices.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.SpriteSourceImageInfoSpriteSource1x? SpriteSource1x { get; set; }

Property Value

SpriteSourceImageInfoSpriteSource1x

SpriteSourceImageInfo.SpriteSource2x Property

Sprite source for high-DPI devices.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Model.SpriteSourceImageInfoSpriteSource2x? SpriteSource2x { get; set; }

Property Value

SpriteSourceImageInfoSpriteSource2x

SpriteSourceImageInfo.SpriteUrl Property

The sprite source url.
ArcGIS Maps SDK for JavaScript

public string? SpriteUrl { get; set; }

Property Value

System.String