@foodmarketmaker/mapag 0.0.16 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
|
@@ -612,6 +612,39 @@ interface CensusTract {
|
|
|
612
612
|
GeoID: string;
|
|
613
613
|
}
|
|
614
614
|
|
|
615
|
+
declare class CroplandDataLayerMapper implements MapboxMapper {
|
|
616
|
+
static PMTILES: string;
|
|
617
|
+
LAYER_ID: string;
|
|
618
|
+
SOURCE_ID: string;
|
|
619
|
+
settings: _angular_core.WritableSignal<CroplandDataLayerSettings>;
|
|
620
|
+
current: Popup | null;
|
|
621
|
+
currentFeatureID: string | number | undefined;
|
|
622
|
+
over: _angular_core.WritableSignal<geojson.Feature<geojson.Geometry, geojson.GeoJsonProperties> | null>;
|
|
623
|
+
legends?: LegendDesc[] | undefined;
|
|
624
|
+
count: number;
|
|
625
|
+
total: number;
|
|
626
|
+
map: Map$1 | undefined;
|
|
627
|
+
popup: Popup | null;
|
|
628
|
+
constructor(settings?: Partial<CroplandDataLayerSettings>);
|
|
629
|
+
update(settings: Partial<CroplandDataLayerSettings>): void;
|
|
630
|
+
private _update;
|
|
631
|
+
private create;
|
|
632
|
+
onReady(map: Map$1, svc: MapService): Promise<void>;
|
|
633
|
+
reset(): void;
|
|
634
|
+
clear(): void;
|
|
635
|
+
pixelToCropType(pixel: Uint8ClampedArray): CroplandType | undefined;
|
|
636
|
+
toLegend(): LegendDesc;
|
|
637
|
+
}
|
|
638
|
+
declare class CroplandDataLayerSettings {
|
|
639
|
+
visible: boolean;
|
|
640
|
+
}
|
|
641
|
+
type CroplandType = {
|
|
642
|
+
code: number;
|
|
643
|
+
class: string;
|
|
644
|
+
color: string;
|
|
645
|
+
};
|
|
646
|
+
declare const CroplandLegend: CroplandType[];
|
|
647
|
+
|
|
615
648
|
declare class EsriMapper implements MapboxMapper {
|
|
616
649
|
jsonUrl: string;
|
|
617
650
|
SOURCE_ID: string;
|
|
@@ -858,5 +891,5 @@ declare class HttpBoundaryLoader implements Geoloader {
|
|
|
858
891
|
loadGeoJson(url: string, geofield: string): Promise<MultiPolygon | undefined>;
|
|
859
892
|
}
|
|
860
893
|
|
|
861
|
-
export { AddLayer, AddSource, AreaMapperMapper, BackgroundMaskMapper, BaseMapLight, BasemapSelect, BasemapSelectMenu, CensusTractMapper, DEFAULT_GLYPHS, DrawingMapper, EsriMapper, EsriSettings, HardinessMapper, HardinessSettings, HttpBoundaryLoader, MapAreaSelectComponent, MapComponent, MapSelectionService, MapService, MapStyles, MapboxMapperGroup, NAASMapper, NAASSettings, NoOpMapper, RemoveLayer, RemoveSource, SaveMap, SelectMode, SimpleMapper, StandardLayersMapper, Styles, VectorTileServerMapper, WatershedMapper, WatershedSettings, discoverLayers, isGeoloader, isMultiPolygon, isNumber2DArray, isNumber3DArray, isPolygon, mapboxLoadImages, mapboxloadImage, pmtilesPixelInfo, sampleTilesForLayers, simpleClone, toMultiPolygon, trySync };
|
|
862
|
-
export type { AreaSelectionType, CensusTract, CustomImage, CustomSourcesAndLayersData, DataCustomization, Geoloader, HydrologicUnit, IMapboxSettings, LegendDesc, LegendItem, MapAreaSelectMode, MapAreaSelection, MapboxImage, MapboxLayerType, MapboxMapper, MapboxStyler, PointData, PointDataLoader, PointDataOptions, PopupRenderer, StyleData, VectorTileServerSource };
|
|
894
|
+
export { AddLayer, AddSource, AreaMapperMapper, BackgroundMaskMapper, BaseMapLight, BasemapSelect, BasemapSelectMenu, CensusTractMapper, CroplandDataLayerMapper, CroplandDataLayerSettings, CroplandLegend, DEFAULT_GLYPHS, DrawingMapper, EsriMapper, EsriSettings, HardinessMapper, HardinessSettings, HttpBoundaryLoader, MapAreaSelectComponent, MapComponent, MapSelectionService, MapService, MapStyles, MapboxMapperGroup, NAASMapper, NAASSettings, NoOpMapper, RemoveLayer, RemoveSource, SaveMap, SelectMode, SimpleMapper, StandardLayersMapper, Styles, VectorTileServerMapper, WatershedMapper, WatershedSettings, discoverLayers, isGeoloader, isMultiPolygon, isNumber2DArray, isNumber3DArray, isPolygon, mapboxLoadImages, mapboxloadImage, pmtilesPixelInfo, sampleTilesForLayers, simpleClone, toMultiPolygon, trySync };
|
|
895
|
+
export type { AreaSelectionType, CensusTract, CroplandType, CustomImage, CustomSourcesAndLayersData, DataCustomization, Geoloader, HydrologicUnit, IMapboxSettings, LegendDesc, LegendItem, MapAreaSelectMode, MapAreaSelection, MapboxImage, MapboxLayerType, MapboxMapper, MapboxStyler, PointData, PointDataLoader, PointDataOptions, PopupRenderer, StyleData, VectorTileServerSource };
|