jmapcloud-ng-types 1.0.45 → 1.0.47

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/public/app.d.ts +55 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-types",
3
- "version": "1.0.45",
3
+ "version": "1.0.47",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG types and interfaces",
5
5
  "main": "src/app.ts",
6
6
  "scripts": {
@@ -23,7 +23,7 @@
23
23
  "homepage": "https://github.com/k2geospatial/jmapcloud-ng-types#readme",
24
24
  "devDependencies": {
25
25
  "@types/react": "^18.3.2",
26
- "jmapcloud-ng-core-types": "1.0.47",
26
+ "jmapcloud-ng-core-types": "1.0.49",
27
27
  "maplibre-gl": "^4.3.1",
28
28
  "react": "^18.3.1",
29
29
  "typedoc": "^0.25.13"
package/public/app.d.ts CHANGED
@@ -2076,9 +2076,64 @@ declare namespace JMap {
2076
2076
  * You can manage the Map UI here.
2077
2077
  */
2078
2078
  namespace Map {
2079
+ /**
2080
+ * **JMap.Application.UI.Map.isGeocodingControlVisible**
2081
+ *
2082
+ * Returns true if the geocoding control is currently visible.
2083
+ *
2084
+ * @example
2085
+ * ```ts
2086
+ * // true or false
2087
+ * JMap.Application.UI.Map.isGeocodingControlVisible()
2088
+ * ```
2089
+ */
2079
2090
  function isGeocodingControlVisible(): boolean
2091
+
2092
+ /**
2093
+ * **JMap.Application.UI.Map.setGeocodingControlVisibility**
2094
+ *
2095
+ * Displays or hides the geocoding control.
2096
+ *
2097
+ * @param isVisible true to display, false to hide
2098
+ * @example
2099
+ * ```ts
2100
+ * // Display the geocoding control
2101
+ * JMap.Application.UI.Map.setGeocodingControlVisibility(true)
2102
+ *
2103
+ * // Hide the geocoding control
2104
+ * JMap.Application.UI.Map.setGeocodingControlVisibility(false)
2105
+ * ```
2106
+ */
2080
2107
  function setGeocodingControlVisibility(isVisible: boolean): void
2108
+
2109
+ /**
2110
+ * **JMap.Application.UI.Map.isSimpleSearchControlVisible**
2111
+ *
2112
+ * Returns true if the Simple Search control is currently visible.
2113
+ *
2114
+ * @example
2115
+ * ```ts
2116
+ * // true or false
2117
+ * JMap.Application.UI.Map.isSimpleSearchControlVisible()
2118
+ * ```
2119
+ */
2081
2120
  function isSimpleSearchControlVisible(): boolean
2121
+
2122
+ /**
2123
+ * **JMap.Application.UI.Map.setSimpleSearchControlVisibility**
2124
+ *
2125
+ * Displays or hides the Simple Search control.
2126
+ *
2127
+ * @param isVisible true to display, false to hide
2128
+ * @example
2129
+ * ```ts
2130
+ * // Display the Simple Search control
2131
+ * JMap.Application.UI.Map.setSimpleSearchControlVisibility(true)
2132
+ *
2133
+ * // Hide the Simple Search control
2134
+ * JMap.Application.UI.Map.setSimpleSearchControlVisibility(false)
2135
+ * ```
2136
+ */
2082
2137
  function setSimpleSearchControlVisibility(isVisible: boolean): void
2083
2138
  }
2084
2139