Skip to content

Releases: nora-soderlund/google-maps-solar-api

v1.1.2

24 Dec 18:24
Compare
Choose a tag to compare

Changes

Fix units type

v1.1.0

18 Sep 17:45
Compare
Choose a tag to compare

Changes

getGeoTiff

Changed from geoTiff to getGeoTiff.

Additions

Helpers

getDataLayersForBounds

getDataLayersForBounds(bounds: LatLngBox, pixelSizeMeters: number, paddingMeters: number = 0): DataLayerBounds

Used for getting a connected area coverage. Does not perform any asynchronous requests. Returns a DataLayerBounds object.


DataLayerBounds

dataLayerView: DataLayerView;

The highest supported data layer view, for radius meters over 175m, the DataLayerView in the request must not include monthly flux or hourly shade.

tiles
tiles: LatLng[];

The tiles that make up the generated bounds, use with radiusMetersPerTile

radiusMetersPerTile
radiusMetersPerTile: number;

The radius in meters for each tile.

bounds
bounds: LatLngBox;

The generated bounds for the new tiles.

horizontalTiles
horizontalTiles: number;
verticalTiles
verticalTiles: number;

The horizontal and vertical tiles count.