jmapserver-ng-core-types 2.8.0 → 2.8.2
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.ts +1 -0
- package/package.json +1 -1
- package/public/core.d.ts +18 -1
- package/public/jmap/project.d.ts +1 -0
package/index.ts
CHANGED
|
@@ -816,6 +816,7 @@ export interface JProjectService {
|
|
|
816
816
|
getSelectionColor(): string
|
|
817
817
|
getBackgroundColor(): string
|
|
818
818
|
getInitialExtent(): JBounds | null
|
|
819
|
+
getMaximumExtent(): JBounds | null
|
|
819
820
|
getBase64ImageThumbnail(): string
|
|
820
821
|
loadAllProjectThumbnails(params?: JProjectLoadThumbnailsParams): Promise<void>
|
|
821
822
|
isChangeDisabled(): boolean
|
package/package.json
CHANGED
package/public/core.d.ts
CHANGED
|
@@ -480,7 +480,7 @@ declare namespace JMap {
|
|
|
480
480
|
* @example
|
|
481
481
|
* ```ts
|
|
482
482
|
* // returns the feature of layer id="3" and bbox
|
|
483
|
-
* JMap.Feature.
|
|
483
|
+
* JMap.Feature.getByLayerId(3, {
|
|
484
484
|
* ne: {
|
|
485
485
|
* x: -73.69935286533261,
|
|
486
486
|
* y: 45.51487645603402
|
|
@@ -5644,6 +5644,7 @@ declare namespace JMap {
|
|
|
5644
5644
|
*
|
|
5645
5645
|
* Returns loaded JMap project initial extent.
|
|
5646
5646
|
* This is the extent that is automatically displayed when the project is opened.
|
|
5647
|
+
* The extent is expressed in the project's CRS
|
|
5647
5648
|
*
|
|
5648
5649
|
* @throws If no project is loaded
|
|
5649
5650
|
* @example
|
|
@@ -5654,6 +5655,22 @@ declare namespace JMap {
|
|
|
5654
5655
|
*/
|
|
5655
5656
|
function getInitialExtent(): JBounds | null
|
|
5656
5657
|
|
|
5658
|
+
/**
|
|
5659
|
+
* **JMap.Project.getMaximumExtent**
|
|
5660
|
+
*
|
|
5661
|
+
* Returns loaded JMap project maximum extent.
|
|
5662
|
+
* This is the extent to which the map will be constrained.
|
|
5663
|
+
* The extent is expressed in the project's CRS
|
|
5664
|
+
*
|
|
5665
|
+
* @throws If no project is loaded
|
|
5666
|
+
* @example
|
|
5667
|
+
* ```ts
|
|
5668
|
+
* // returns the project maximum extent if exists
|
|
5669
|
+
* JMap.Project.getMaximumExtent()
|
|
5670
|
+
* ```
|
|
5671
|
+
*/
|
|
5672
|
+
function getMaximumExtent(): JBounds | null
|
|
5673
|
+
|
|
5657
5674
|
/**
|
|
5658
5675
|
* **JMap.Project.getBase64ImageThumbnail**
|
|
5659
5676
|
*
|
package/public/jmap/project.d.ts
CHANGED