@igo2/geo 1.10.0 → 1.11.0

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 (468) hide show
  1. package/assets/icons/cross_black_18px.svg +88 -88
  2. package/assets/icons/place_blue_36px.svg +55 -55
  3. package/assets/icons/place_green_36px.svg +55 -55
  4. package/assets/icons/place_red_36px.svg +55 -55
  5. package/assets/icons/place_yellow_36px.svg +55 -55
  6. package/bundles/igo2-geo.umd.js +2604 -789
  7. package/bundles/igo2-geo.umd.js.map +1 -1
  8. package/esm2015/lib/catalog/catalog-browser/catalog-browser-group.component.js +1 -1
  9. package/esm2015/lib/catalog/catalog-browser/catalog-browser-layer.component.js +1 -1
  10. package/esm2015/lib/catalog/catalog-browser/catalog-browser.component.js +2 -2
  11. package/esm2015/lib/catalog/catalog-browser/catalog-browser.module.js +1 -1
  12. package/esm2015/lib/catalog/catalog-library/add-catalog-dialog.component.js +1 -1
  13. package/esm2015/lib/catalog/catalog-library/catalog-library-item.component.js +1 -1
  14. package/esm2015/lib/catalog/catalog-library/catalog-library.component.js +6 -6
  15. package/esm2015/lib/catalog/catalog-library/catalog-library.module.js +1 -1
  16. package/esm2015/lib/catalog/catalog.module.js +1 -1
  17. package/esm2015/lib/catalog/index.js +1 -1
  18. package/esm2015/lib/catalog/shared/catalog.abstract.js +1 -1
  19. package/esm2015/lib/catalog/shared/catalog.enum.js +1 -1
  20. package/esm2015/lib/catalog/shared/catalog.interface.js +1 -1
  21. package/esm2015/lib/catalog/shared/catalog.service.js +5 -2
  22. package/esm2015/lib/catalog/shared/index.js +1 -1
  23. package/esm2015/lib/datasource/datasource.module.js +1 -1
  24. package/esm2015/lib/datasource/index.js +1 -1
  25. package/esm2015/lib/datasource/shared/capabilities.service.js +25 -11
  26. package/esm2015/lib/datasource/shared/datasource.service.js +1 -1
  27. package/esm2015/lib/datasource/shared/datasources/any-datasource.interface.js +1 -1
  28. package/esm2015/lib/datasource/shared/datasources/any-datasource.js +1 -1
  29. package/esm2015/lib/datasource/shared/datasources/arcgisrest-datasource.interface.js +1 -1
  30. package/esm2015/lib/datasource/shared/datasources/arcgisrest-datasource.js +84 -14
  31. package/esm2015/lib/datasource/shared/datasources/carto-datasource.interface.js +1 -1
  32. package/esm2015/lib/datasource/shared/datasources/carto-datasource.js +1 -1
  33. package/esm2015/lib/datasource/shared/datasources/cluster-datasource.interface.js +1 -1
  34. package/esm2015/lib/datasource/shared/datasources/cluster-datasource.js +1 -1
  35. package/esm2015/lib/datasource/shared/datasources/data.service.js +1 -1
  36. package/esm2015/lib/datasource/shared/datasources/datasource.interface.js +1 -1
  37. package/esm2015/lib/datasource/shared/datasources/datasource.js +1 -1
  38. package/esm2015/lib/datasource/shared/datasources/feature-datasource.interface.js +1 -1
  39. package/esm2015/lib/datasource/shared/datasources/feature-datasource.js +1 -1
  40. package/esm2015/lib/datasource/shared/datasources/imagearcgisrest-datasource.interface.js +1 -1
  41. package/esm2015/lib/datasource/shared/datasources/imagearcgisrest-datasource.js +7 -10
  42. package/esm2015/lib/datasource/shared/datasources/index.js +1 -1
  43. package/esm2015/lib/datasource/shared/datasources/mvt-datasource.interface.js +1 -1
  44. package/esm2015/lib/datasource/shared/datasources/mvt-datasource.js +1 -1
  45. package/esm2015/lib/datasource/shared/datasources/osm-datasource.interface.js +1 -1
  46. package/esm2015/lib/datasource/shared/datasources/osm-datasource.js +1 -1
  47. package/esm2015/lib/datasource/shared/datasources/tilearcgisrest-datasource.interface.js +1 -1
  48. package/esm2015/lib/datasource/shared/datasources/tilearcgisrest-datasource.js +7 -9
  49. package/esm2015/lib/datasource/shared/datasources/tiledebug-datasource.interface.js +1 -1
  50. package/esm2015/lib/datasource/shared/datasources/tiledebug-datasource.js +1 -1
  51. package/esm2015/lib/datasource/shared/datasources/websocket-datasource.interface.js +1 -1
  52. package/esm2015/lib/datasource/shared/datasources/websocket-datasource.js +1 -1
  53. package/esm2015/lib/datasource/shared/datasources/wfs-datasource.interface.js +1 -1
  54. package/esm2015/lib/datasource/shared/datasources/wfs-datasource.js +3 -1
  55. package/esm2015/lib/datasource/shared/datasources/wfs.service.js +1 -1
  56. package/esm2015/lib/datasource/shared/datasources/wms-datasource.interface.js +1 -1
  57. package/esm2015/lib/datasource/shared/datasources/wms-datasource.js +7 -1
  58. package/esm2015/lib/datasource/shared/datasources/wms-wfs.utils.js +5 -2
  59. package/esm2015/lib/datasource/shared/datasources/wmts-datasource.interface.js +1 -1
  60. package/esm2015/lib/datasource/shared/datasources/wmts-datasource.js +1 -1
  61. package/esm2015/lib/datasource/shared/datasources/xyz-datasource.interface.js +1 -1
  62. package/esm2015/lib/datasource/shared/datasources/xyz-datasource.js +1 -1
  63. package/esm2015/lib/datasource/shared/index.js +1 -1
  64. package/esm2015/lib/datasource/shared/options/index.js +1 -1
  65. package/esm2015/lib/datasource/shared/options/options-api.interface.js +1 -1
  66. package/esm2015/lib/datasource/shared/options/options-api.providers.js +1 -1
  67. package/esm2015/lib/datasource/shared/options/options-api.service.js +1 -1
  68. package/esm2015/lib/datasource/shared/options/options.service.js +1 -1
  69. package/esm2015/lib/datasource/utils/esri-style-generator.js +1 -1
  70. package/esm2015/lib/datasource/utils/index.js +1 -1
  71. package/esm2015/lib/datasource/utils/tilegrid.js +1 -1
  72. package/esm2015/lib/directions/directions-buttons/directions-buttons.component.js +10 -4
  73. package/esm2015/lib/directions/directions-buttons/index.js +1 -1
  74. package/esm2015/lib/directions/directions-inputs/directions-inputs.component.js +1 -1
  75. package/esm2015/lib/directions/directions-inputs/index.js +1 -1
  76. package/esm2015/lib/directions/directions-results/directions-results.component.js +1 -1
  77. package/esm2015/lib/directions/directions-results/index.js +1 -1
  78. package/esm2015/lib/directions/directions-sources/directions-source.interface.js +1 -1
  79. package/esm2015/lib/directions/directions-sources/directions-source.js +1 -1
  80. package/esm2015/lib/directions/directions-sources/directions-source.provider.js +1 -1
  81. package/esm2015/lib/directions/directions-sources/index.js +1 -1
  82. package/esm2015/lib/directions/directions-sources/osrm-directions-source.js +1 -1
  83. package/esm2015/lib/directions/directions.component.js +6 -4
  84. package/esm2015/lib/directions/directions.module.js +1 -1
  85. package/esm2015/lib/directions/index.js +1 -1
  86. package/esm2015/lib/directions/shared/directions-source.service.js +1 -1
  87. package/esm2015/lib/directions/shared/directions.enum.js +1 -1
  88. package/esm2015/lib/directions/shared/directions.interface.js +1 -1
  89. package/esm2015/lib/directions/shared/directions.service.js +1 -1
  90. package/esm2015/lib/directions/shared/directions.utils.js +4 -1
  91. package/esm2015/lib/directions/shared/index.js +1 -1
  92. package/esm2015/lib/directions/shared/store.js +1 -1
  93. package/esm2015/lib/download/download-button/download-button.component.js +1 -1
  94. package/esm2015/lib/download/download-button/index.js +1 -1
  95. package/esm2015/lib/download/download.module.js +1 -1
  96. package/esm2015/lib/download/index.js +1 -1
  97. package/esm2015/lib/download/shared/download.interface.js +1 -1
  98. package/esm2015/lib/download/shared/download.service.js +1 -1
  99. package/esm2015/lib/download/shared/index.js +1 -1
  100. package/esm2015/lib/draw/draw/draw-popup.component.js +1 -1
  101. package/esm2015/lib/draw/draw/draw-shorcuts.component.js +1 -1
  102. package/esm2015/lib/draw/draw/draw.component.js +2 -1
  103. package/esm2015/lib/draw/draw/draw.module.js +1 -1
  104. package/esm2015/lib/draw/drawingTool.module.js +1 -1
  105. package/esm2015/lib/draw/index.js +1 -1
  106. package/esm2015/lib/draw/shared/draw-icon.service.js +1 -1
  107. package/esm2015/lib/draw/shared/draw-style.service.js +1 -1
  108. package/esm2015/lib/draw/shared/draw.enum.js +1 -1
  109. package/esm2015/lib/draw/shared/draw.interface.js +1 -1
  110. package/esm2015/lib/draw/shared/draw.utils.js +1 -1
  111. package/esm2015/lib/draw/shared/index.js +1 -1
  112. package/esm2015/lib/feature/feature-details/feature-details.component.js +1 -1
  113. package/esm2015/lib/feature/feature-details/feature-details.directive.js +1 -1
  114. package/esm2015/lib/feature/feature-details/feature-details.module.js +1 -1
  115. package/esm2015/lib/feature/feature-form/feature-form.component.js +1 -1
  116. package/esm2015/lib/feature/feature-form/feature-form.module.js +1 -1
  117. package/esm2015/lib/feature/feature.module.js +1 -1
  118. package/esm2015/lib/feature/index.js +1 -1
  119. package/esm2015/lib/feature/shared/feature.enums.js +1 -1
  120. package/esm2015/lib/feature/shared/feature.interfaces.js +1 -1
  121. package/esm2015/lib/feature/shared/feature.utils.js +2 -1
  122. package/esm2015/lib/feature/shared/index.js +1 -1
  123. package/esm2015/lib/feature/shared/store.js +1 -1
  124. package/esm2015/lib/feature/shared/strategies/in-map-extent.js +17 -4
  125. package/esm2015/lib/feature/shared/strategies/in-map-resolution.js +1 -1
  126. package/esm2015/lib/feature/shared/strategies/index.js +1 -1
  127. package/esm2015/lib/feature/shared/strategies/loading-layer.js +1 -1
  128. package/esm2015/lib/feature/shared/strategies/loading.js +1 -1
  129. package/esm2015/lib/feature/shared/strategies/selection.js +1 -1
  130. package/esm2015/lib/feature/shared/strategies.utils.js +1 -1
  131. package/esm2015/lib/filter/filter.module.js +2 -2
  132. package/esm2015/lib/filter/index.js +1 -1
  133. package/esm2015/lib/filter/ogc-filter-button/index.js +1 -1
  134. package/esm2015/lib/filter/ogc-filter-button/ogc-filter-button.component.js +15 -1
  135. package/esm2015/lib/filter/ogc-filter-form/index.js +1 -1
  136. package/esm2015/lib/filter/ogc-filter-form/ogc-filter-form.component.js +1 -1
  137. package/esm2015/lib/filter/ogc-filter-selection/index.js +1 -1
  138. package/esm2015/lib/filter/ogc-filter-selection/ogc-filter-selection.component.js +31 -13
  139. package/esm2015/lib/filter/ogc-filter-time/index.js +1 -1
  140. package/esm2015/lib/filter/ogc-filter-time/ogc-filter-time-slider.component.js +1 -1
  141. package/esm2015/lib/filter/ogc-filter-time/ogc-filter-time.component.js +296 -161
  142. package/esm2015/lib/filter/ogc-filterable-form/index.js +1 -1
  143. package/esm2015/lib/filter/ogc-filterable-form/ogc-filterable-form.component.js +1 -1
  144. package/esm2015/lib/filter/ogc-filterable-item/index.js +1 -1
  145. package/esm2015/lib/filter/ogc-filterable-item/ogc-filterable-item.component.js +1 -1
  146. package/esm2015/lib/filter/ogc-filterable-list/index.js +1 -1
  147. package/esm2015/lib/filter/ogc-filterable-list/ogc-filterable-list-binding.directive.js +1 -1
  148. package/esm2015/lib/filter/ogc-filterable-list/ogc-filterable-list.component.js +1 -1
  149. package/esm2015/lib/filter/shared/filterable-datasource.pipe.js +1 -1
  150. package/esm2015/lib/filter/shared/index.js +1 -1
  151. package/esm2015/lib/filter/shared/ogc-filter-time.service.js +1 -1
  152. package/esm2015/lib/filter/shared/ogc-filter.enum.js +1 -1
  153. package/esm2015/lib/filter/shared/ogc-filter.interface.js +1 -1
  154. package/esm2015/lib/filter/shared/ogc-filter.js +8 -1
  155. package/esm2015/lib/filter/shared/ogc-filter.service.js +1 -1
  156. package/esm2015/lib/filter/shared/spatial-filter.enum.js +1 -1
  157. package/esm2015/lib/filter/shared/spatial-filter.interface.js +1 -1
  158. package/esm2015/lib/filter/shared/spatial-filter.service.js +1 -1
  159. package/esm2015/lib/filter/shared/time-filter.enum.js +1 -1
  160. package/esm2015/lib/filter/shared/time-filter.interface.js +1 -1
  161. package/esm2015/lib/filter/shared/time-filter.service.js +1 -1
  162. package/esm2015/lib/filter/spatial-filter/spatial-filter-item/index.js +1 -1
  163. package/esm2015/lib/filter/spatial-filter/spatial-filter-item/spatial-filter-item.component.js +1 -1
  164. package/esm2015/lib/filter/spatial-filter/spatial-filter-list/index.js +1 -1
  165. package/esm2015/lib/filter/spatial-filter/spatial-filter-list/spatial-filter-list.component.js +1 -1
  166. package/esm2015/lib/filter/spatial-filter/spatial-filter-type/index.js +1 -1
  167. package/esm2015/lib/filter/spatial-filter/spatial-filter-type/spatial-filter-type.component.js +1 -1
  168. package/esm2015/lib/filter/time-filter-button/index.js +1 -1
  169. package/esm2015/lib/filter/time-filter-button/time-filter-button.component.js +1 -1
  170. package/esm2015/lib/filter/time-filter-form/index.js +1 -1
  171. package/esm2015/lib/filter/time-filter-form/time-filter-form.component.js +1 -1
  172. package/esm2015/lib/filter/time-filter-item/index.js +1 -1
  173. package/esm2015/lib/filter/time-filter-item/time-filter-item.component.js +1 -1
  174. package/esm2015/lib/filter/time-filter-list/index.js +1 -1
  175. package/esm2015/lib/filter/time-filter-list/time-filter-list-binding.directive.js +1 -1
  176. package/esm2015/lib/filter/time-filter-list/time-filter-list.component.js +1 -1
  177. package/esm2015/lib/geo.module.js +1 -1
  178. package/esm2015/lib/geometry/geometry-form-field/geometry-form-field-input.component.js +1 -1
  179. package/esm2015/lib/geometry/geometry-form-field/geometry-form-field.component.js +1 -1
  180. package/esm2015/lib/geometry/geometry-form-field/geometry-form-field.module.js +1 -1
  181. package/esm2015/lib/geometry/geometry.module.js +1 -1
  182. package/esm2015/lib/geometry/index.js +1 -1
  183. package/esm2015/lib/geometry/shared/controls/draw.js +7 -2
  184. package/esm2015/lib/geometry/shared/controls/index.js +1 -1
  185. package/esm2015/lib/geometry/shared/controls/modify.js +1 -1
  186. package/esm2015/lib/geometry/shared/controls/slice.js +1 -1
  187. package/esm2015/lib/geometry/shared/geometry.errors.js +1 -1
  188. package/esm2015/lib/geometry/shared/geometry.interfaces.js +1 -1
  189. package/esm2015/lib/geometry/shared/geometry.utils.js +1 -1
  190. package/esm2015/lib/geometry/shared/index.js +1 -1
  191. package/esm2015/lib/import-export/export-button/export-button.component.js +1 -1
  192. package/esm2015/lib/import-export/export-button/index.js +1 -1
  193. package/esm2015/lib/import-export/import-export/import-export.component.js +60 -11
  194. package/esm2015/lib/import-export/import-export/index.js +1 -1
  195. package/esm2015/lib/import-export/import-export.module.js +1 -1
  196. package/esm2015/lib/import-export/index.js +1 -1
  197. package/esm2015/lib/import-export/shared/drop-geo-file.directive.js +1 -1
  198. package/esm2015/lib/import-export/shared/export.errors.js +1 -1
  199. package/esm2015/lib/import-export/shared/export.interface.js +1 -1
  200. package/esm2015/lib/import-export/shared/export.service.js +1 -1
  201. package/esm2015/lib/import-export/shared/export.type.js +1 -1
  202. package/esm2015/lib/import-export/shared/export.utils.js +1 -1
  203. package/esm2015/lib/import-export/shared/import.errors.js +1 -1
  204. package/esm2015/lib/import-export/shared/import.interface.js +1 -1
  205. package/esm2015/lib/import-export/shared/import.service.js +1 -1
  206. package/esm2015/lib/import-export/shared/import.utils.js +1 -1
  207. package/esm2015/lib/import-export/shared/index.js +1 -1
  208. package/esm2015/lib/import-export/style-list/index.js +1 -1
  209. package/esm2015/lib/import-export/style-list/style-list.interface.js +1 -1
  210. package/esm2015/lib/import-export/style-list/style-list.module.js +1 -1
  211. package/esm2015/lib/import-export/style-list/style-list.provider.js +1 -1
  212. package/esm2015/lib/import-export/style-list/style-list.service.js +1 -1
  213. package/esm2015/lib/layer/index.js +1 -1
  214. package/esm2015/lib/layer/layer-item/index.js +1 -1
  215. package/esm2015/lib/layer/layer-item/layer-item.component.js +1 -1
  216. package/esm2015/lib/layer/layer-legend/index.js +1 -1
  217. package/esm2015/lib/layer/layer-legend/layer-legend.component.js +20 -21
  218. package/esm2015/lib/layer/layer-legend-item/index.js +1 -1
  219. package/esm2015/lib/layer/layer-legend-item/layer-legend-item.component.js +1 -1
  220. package/esm2015/lib/layer/layer-legend-list/index.js +1 -1
  221. package/esm2015/lib/layer/layer-legend-list/layer-legend-list-binding.directive.js +1 -1
  222. package/esm2015/lib/layer/layer-legend-list/layer-legend-list.component.js +1 -1
  223. package/esm2015/lib/layer/layer-list/index.js +1 -1
  224. package/esm2015/lib/layer/layer-list/layer-list-binding.directive.js +1 -1
  225. package/esm2015/lib/layer/layer-list/layer-list.component.js +1 -1
  226. package/esm2015/lib/layer/layer-list/layer-list.enum.js +1 -1
  227. package/esm2015/lib/layer/layer-list-tool/index.js +1 -1
  228. package/esm2015/lib/layer/layer-list-tool/layer-list-tool.component.js +1 -1
  229. package/esm2015/lib/layer/layer-list-tool/layer-list-tool.enum.js +1 -1
  230. package/esm2015/lib/layer/layer-list-tool/layer-list-tool.interface.js +1 -1
  231. package/esm2015/lib/layer/layer-list-tool/layer-list-tool.service.js +1 -1
  232. package/esm2015/lib/layer/layer.module.js +1 -1
  233. package/esm2015/lib/layer/shared/clusterParam.js +1 -1
  234. package/esm2015/lib/layer/shared/index.js +1 -1
  235. package/esm2015/lib/layer/shared/layer.enums.js +1 -1
  236. package/esm2015/lib/layer/shared/layer.service.js +1 -1
  237. package/esm2015/lib/layer/shared/layers/any-layer.interface.js +1 -1
  238. package/esm2015/lib/layer/shared/layers/any-layer.js +1 -1
  239. package/esm2015/lib/layer/shared/layers/image-layer.interface.js +1 -1
  240. package/esm2015/lib/layer/shared/layers/image-layer.js +1 -1
  241. package/esm2015/lib/layer/shared/layers/index.js +1 -1
  242. package/esm2015/lib/layer/shared/layers/layer.interface.js +1 -1
  243. package/esm2015/lib/layer/shared/layers/layer.js +9 -1
  244. package/esm2015/lib/layer/shared/layers/tile-layer.interface.js +1 -1
  245. package/esm2015/lib/layer/shared/layers/tile-layer.js +1 -1
  246. package/esm2015/lib/layer/shared/layers/vector-layer.interface.js +1 -1
  247. package/esm2015/lib/layer/shared/layers/vector-layer.js +13 -5
  248. package/esm2015/lib/layer/shared/layers/vectortile-layer.interface.js +1 -1
  249. package/esm2015/lib/layer/shared/layers/vectortile-layer.js +1 -1
  250. package/esm2015/lib/layer/shared/style.service.js +1 -1
  251. package/esm2015/lib/layer/shared/vector-style.interface.js +1 -1
  252. package/esm2015/lib/layer/track-feature-button/index.js +1 -1
  253. package/esm2015/lib/layer/track-feature-button/track-feature-button.component.js +1 -1
  254. package/esm2015/lib/layer/utils/image-watcher.js +1 -1
  255. package/esm2015/lib/layer/utils/index.js +1 -1
  256. package/esm2015/lib/layer/utils/layer.utils.js +1 -1
  257. package/esm2015/lib/layer/utils/layerSync-watcher.js +10 -6
  258. package/esm2015/lib/layer/utils/outputLegend.js +1 -1
  259. package/esm2015/lib/layer/utils/tile-watcher.js +1 -1
  260. package/esm2015/lib/layer/utils/vector-watcher.js +1 -1
  261. package/esm2015/lib/map/baselayers-switcher/baselayers-switcher.animation.js +1 -1
  262. package/esm2015/lib/map/baselayers-switcher/baselayers-switcher.component.js +1 -1
  263. package/esm2015/lib/map/baselayers-switcher/index.js +1 -1
  264. package/esm2015/lib/map/baselayers-switcher/mini-basemap.component.js +1 -1
  265. package/esm2015/lib/map/geolocate-button/geolocate-button.component.js +1 -1
  266. package/esm2015/lib/map/geolocate-button/index.js +1 -1
  267. package/esm2015/lib/map/home-extent-button/home-extent-button.component.js +69 -0
  268. package/esm2015/lib/map/home-extent-button/index.js +2 -0
  269. package/esm2015/lib/map/index.js +3 -1
  270. package/esm2015/lib/map/info-section/index.js +2 -0
  271. package/esm2015/lib/map/info-section/info-section.component.js +36 -0
  272. package/esm2015/lib/map/map-browser/index.js +1 -1
  273. package/esm2015/lib/map/map-browser/map-browser.component.js +2 -2
  274. package/esm2015/lib/map/map-center/index.js +1 -1
  275. package/esm2015/lib/map/map-center/map-center.component.js +2 -2
  276. package/esm2015/lib/map/map.module.js +11 -1
  277. package/esm2015/lib/map/menu-button/index.js +1 -1
  278. package/esm2015/lib/map/menu-button/menu-button.component.js +1 -1
  279. package/esm2015/lib/map/offline-button/index.js +1 -1
  280. package/esm2015/lib/map/offline-button/offline-button.component.js +1 -1
  281. package/esm2015/lib/map/rotation-button/index.js +1 -1
  282. package/esm2015/lib/map/rotation-button/rotation-button.component.js +1 -1
  283. package/esm2015/lib/map/shared/controllers/controller.js +1 -1
  284. package/esm2015/lib/map/shared/controllers/index.js +1 -1
  285. package/esm2015/lib/map/shared/controllers/view.js +1 -1
  286. package/esm2015/lib/map/shared/hover-feature.directive.js +2 -1
  287. package/esm2015/lib/map/shared/index.js +1 -1
  288. package/esm2015/lib/map/shared/map-pointer-position.directive.js +1 -1
  289. package/esm2015/lib/map/shared/map.enums.js +1 -1
  290. package/esm2015/lib/map/shared/map.interface.js +1 -1
  291. package/esm2015/lib/map/shared/map.js +1 -1
  292. package/esm2015/lib/map/shared/map.service.js +1 -1
  293. package/esm2015/lib/map/shared/map.utils.js +1 -1
  294. package/esm2015/lib/map/shared/mapOffline.directive.js +17 -6
  295. package/esm2015/lib/map/shared/projection.interfaces.js +1 -1
  296. package/esm2015/lib/map/shared/projection.service.js +1 -1
  297. package/esm2015/lib/map/shared/projection.utils.js +1 -1
  298. package/esm2015/lib/map/swipe-control/index.js +1 -1
  299. package/esm2015/lib/map/swipe-control/swipe-control.component.js +1 -1
  300. package/esm2015/lib/map/utils/layer-watcher.js +1 -1
  301. package/esm2015/lib/map/zoom-button/index.js +1 -1
  302. package/esm2015/lib/map/zoom-button/zoom-button.component.js +1 -1
  303. package/esm2015/lib/measure/index.js +1 -1
  304. package/esm2015/lib/measure/measure.module.js +1 -1
  305. package/esm2015/lib/measure/measurer/measure-format.pipe.js +1 -1
  306. package/esm2015/lib/measure/measurer/measurer-dialog.component.js +1 -1
  307. package/esm2015/lib/measure/measurer/measurer-item.component.js +1 -1
  308. package/esm2015/lib/measure/measurer/measurer.component.js +7 -1
  309. package/esm2015/lib/measure/measurer/measurer.module.js +1 -1
  310. package/esm2015/lib/measure/shared/index.js +1 -1
  311. package/esm2015/lib/measure/shared/measure.enum.js +1 -1
  312. package/esm2015/lib/measure/shared/measure.interfaces.js +1 -1
  313. package/esm2015/lib/measure/shared/measure.utils.js +1 -1
  314. package/esm2015/lib/metadata/index.js +1 -1
  315. package/esm2015/lib/metadata/metadata-button/index.js +1 -1
  316. package/esm2015/lib/metadata/metadata-button/metadata-button.component.js +1 -1
  317. package/esm2015/lib/metadata/metadata.module.js +1 -1
  318. package/esm2015/lib/metadata/shared/index.js +1 -1
  319. package/esm2015/lib/metadata/shared/metadata.interface.js +1 -1
  320. package/esm2015/lib/metadata/shared/metadata.service.js +1 -1
  321. package/esm2015/lib/overlay/index.js +1 -1
  322. package/esm2015/lib/overlay/overlay.module.js +1 -1
  323. package/esm2015/lib/overlay/shared/index.js +1 -1
  324. package/esm2015/lib/overlay/shared/overlay-marker-style.utils.js +1 -1
  325. package/esm2015/lib/overlay/shared/overlay.directive.js +1 -1
  326. package/esm2015/lib/overlay/shared/overlay.enum.js +1 -1
  327. package/esm2015/lib/overlay/shared/overlay.js +1 -1
  328. package/esm2015/lib/overlay/shared/overlay.service.js +1 -1
  329. package/esm2015/lib/overlay/shared/overlay.utils.js +1 -1
  330. package/esm2015/lib/print/index.js +1 -1
  331. package/esm2015/lib/print/print/print.component.js +1 -1
  332. package/esm2015/lib/print/print-form/index.js +1 -1
  333. package/esm2015/lib/print/print-form/print-form.component.js +1 -1
  334. package/esm2015/lib/print/print.module.js +1 -1
  335. package/esm2015/lib/print/shared/index.js +1 -1
  336. package/esm2015/lib/print/shared/print.interface.js +1 -1
  337. package/esm2015/lib/print/shared/print.service.js +1 -1
  338. package/esm2015/lib/print/shared/print.type.js +1 -1
  339. package/esm2015/lib/query/index.js +1 -1
  340. package/esm2015/lib/query/query.module.js +1 -1
  341. package/esm2015/lib/query/shared/index.js +1 -1
  342. package/esm2015/lib/query/shared/query-search-source.js +1 -1
  343. package/esm2015/lib/query/shared/query-search-source.providers.js +1 -1
  344. package/esm2015/lib/query/shared/query.directive.js +4 -1
  345. package/esm2015/lib/query/shared/query.enums.js +1 -1
  346. package/esm2015/lib/query/shared/query.interfaces.js +1 -1
  347. package/esm2015/lib/query/shared/query.service.js +35 -13
  348. package/esm2015/lib/query/shared/query.utils.js +1 -1
  349. package/esm2015/lib/search/index.js +1 -1
  350. package/esm2015/lib/search/search-bar/search-bar.component.js +4 -2
  351. package/esm2015/lib/search/search-bar/search-bar.module.js +1 -1
  352. package/esm2015/lib/search/search-bar/search-url-param.directive.js +1 -1
  353. package/esm2015/lib/search/search-results/search-results-add-button.component.js +7 -7
  354. package/esm2015/lib/search/search-results/search-results-item.component.js +1 -1
  355. package/esm2015/lib/search/search-results/search-results.component.js +1 -1
  356. package/esm2015/lib/search/search-results/search-results.module.js +1 -1
  357. package/esm2015/lib/search/search-selector/search-selector.component.js +1 -1
  358. package/esm2015/lib/search/search-selector/search-selector.module.js +1 -1
  359. package/esm2015/lib/search/search-settings/search-settings.component.js +1 -1
  360. package/esm2015/lib/search/search-settings/search-settings.module.js +1 -1
  361. package/esm2015/lib/search/search.module.js +1 -1
  362. package/esm2015/lib/search/shared/index.js +1 -1
  363. package/esm2015/lib/search/shared/search-pointer-summary.directive.js +2 -1
  364. package/esm2015/lib/search/shared/search-source-service.providers.js +1 -1
  365. package/esm2015/lib/search/shared/search-source.service.js +1 -1
  366. package/esm2015/lib/search/shared/search.enums.js +1 -1
  367. package/esm2015/lib/search/shared/search.interfaces.js +1 -1
  368. package/esm2015/lib/search/shared/search.service.js +1 -1
  369. package/esm2015/lib/search/shared/search.utils.js +1 -1
  370. package/esm2015/lib/search/shared/sources/cadastre.js +1 -1
  371. package/esm2015/lib/search/shared/sources/cadastre.providers.js +1 -1
  372. package/esm2015/lib/search/shared/sources/coordinates.interfaces.js +1 -1
  373. package/esm2015/lib/search/shared/sources/coordinates.js +1 -1
  374. package/esm2015/lib/search/shared/sources/coordinates.providers.js +1 -1
  375. package/esm2015/lib/search/shared/sources/icherche.interfaces.js +1 -1
  376. package/esm2015/lib/search/shared/sources/icherche.js +1 -1
  377. package/esm2015/lib/search/shared/sources/icherche.providers.js +1 -1
  378. package/esm2015/lib/search/shared/sources/ilayer.interfaces.js +1 -1
  379. package/esm2015/lib/search/shared/sources/ilayer.js +1 -1
  380. package/esm2015/lib/search/shared/sources/ilayer.providers.js +1 -1
  381. package/esm2015/lib/search/shared/sources/index.js +1 -1
  382. package/esm2015/lib/search/shared/sources/nominatim.interfaces.js +1 -1
  383. package/esm2015/lib/search/shared/sources/nominatim.js +2 -2
  384. package/esm2015/lib/search/shared/sources/nominatim.providers.js +1 -1
  385. package/esm2015/lib/search/shared/sources/source.interfaces.js +1 -1
  386. package/esm2015/lib/search/shared/sources/source.js +2 -2
  387. package/esm2015/lib/search/shared/sources/storedqueries.interfaces.js +1 -1
  388. package/esm2015/lib/search/shared/sources/storedqueries.js +2 -2
  389. package/esm2015/lib/search/shared/sources/storedqueries.providers.js +1 -1
  390. package/esm2015/lib/toast/index.js +1 -1
  391. package/esm2015/lib/toast/toast.component.js +1 -1
  392. package/esm2015/lib/toast/toast.module.js +1 -1
  393. package/esm2015/lib/utils/commonVectorStyle.interface.js +1 -1
  394. package/esm2015/lib/utils/commonVectorStyle.js +1 -1
  395. package/esm2015/lib/utils/googleLinks.js +1 -1
  396. package/esm2015/lib/utils/id-generator.js +1 -1
  397. package/esm2015/lib/utils/index.js +1 -1
  398. package/esm2015/lib/utils/osmLinks.js +1 -1
  399. package/esm2015/lib/wkt/index.js +1 -1
  400. package/esm2015/lib/wkt/shared/index.js +1 -1
  401. package/esm2015/lib/wkt/shared/wkt.service.js +15 -15
  402. package/esm2015/lib/wkt/wkt.module.js +1 -1
  403. package/esm2015/lib/workspace/confirmation-popup/confirmation-popup.component.js +56 -0
  404. package/esm2015/lib/workspace/confirmation-popup/confirmation-popup.module.js +38 -0
  405. package/esm2015/lib/workspace/confirmation-popup/index.js +3 -0
  406. package/esm2015/lib/workspace/index.js +2 -1
  407. package/esm2015/lib/workspace/shared/edition-workspace.js +271 -0
  408. package/esm2015/lib/workspace/shared/edition-workspace.service.js +619 -0
  409. package/esm2015/lib/workspace/shared/feature-workspace.js +18 -1
  410. package/esm2015/lib/workspace/shared/feature-workspace.service.js +27 -6
  411. package/esm2015/lib/workspace/shared/index.js +3 -1
  412. package/esm2015/lib/workspace/shared/wfs-workspace.js +18 -1
  413. package/esm2015/lib/workspace/shared/wfs-workspace.service.js +27 -5
  414. package/esm2015/lib/workspace/shared/wms-workspace.service.js +59 -15
  415. package/esm2015/lib/workspace/shared/workspace.utils.js +1 -1
  416. package/esm2015/lib/workspace/widgets/index.js +1 -1
  417. package/esm2015/lib/workspace/widgets/ogc-filter/ogc-filter.component.js +1 -1
  418. package/esm2015/lib/workspace/widgets/ogc-filter/ogc-filter.module.js +1 -1
  419. package/esm2015/lib/workspace/widgets/widgets.js +1 -1
  420. package/esm2015/lib/workspace/workspace-selector/workspace-selector.directive.js +40 -10
  421. package/esm2015/lib/workspace/workspace-selector/workspace-selector.module.js +1 -1
  422. package/esm2015/lib/workspace/workspace-updator/workspace-updator.directive.js +22 -8
  423. package/esm2015/lib/workspace/workspace-updator/workspace-updator.module.js +1 -1
  424. package/esm2015/lib/workspace/workspace.module.js +19 -7
  425. package/esm2015/public_api.js +1 -1
  426. package/fesm2015/igo2-geo.js +2025 -398
  427. package/fesm2015/igo2-geo.js.map +1 -1
  428. package/lib/datasource/shared/datasources/arcgisrest-datasource.d.ts +2 -0
  429. package/lib/datasource/shared/datasources/datasource.interface.d.ts +44 -0
  430. package/lib/datasource/shared/datasources/wfs-datasource.d.ts +1 -0
  431. package/lib/datasource/shared/datasources/wms-wfs.utils.d.ts +1 -1
  432. package/lib/directions/directions-buttons/directions-buttons.component.d.ts +2 -1
  433. package/lib/directions/directions.component.d.ts +2 -1
  434. package/lib/filter/ogc-filter-time/ogc-filter-time.component.d.ts +6 -0
  435. package/lib/filter/shared/ogc-filter.interface.d.ts +1 -0
  436. package/lib/geometry/shared/controls/draw.d.ts +8 -4
  437. package/lib/geometry/shared/controls/modify.d.ts +3 -4
  438. package/lib/geometry/shared/controls/slice.d.ts +3 -4
  439. package/lib/layer/shared/layers/layer.d.ts +6 -0
  440. package/lib/layer/shared/layers/layer.interface.d.ts +8 -0
  441. package/lib/layer/shared/layers/vector-layer.d.ts +2 -1
  442. package/lib/map/home-extent-button/home-extent-button.component.d.ts +20 -0
  443. package/lib/map/home-extent-button/index.d.ts +1 -0
  444. package/lib/map/index.d.ts +2 -0
  445. package/lib/map/info-section/index.d.ts +1 -0
  446. package/lib/map/info-section/info-section.component.d.ts +7 -0
  447. package/lib/map/map.module.d.ts +19 -17
  448. package/lib/map/shared/mapOffline.directive.d.ts +1 -0
  449. package/lib/query/shared/query.interfaces.d.ts +1 -0
  450. package/lib/workspace/confirmation-popup/confirmation-popup.component.d.ts +23 -0
  451. package/lib/workspace/confirmation-popup/confirmation-popup.module.d.ts +14 -0
  452. package/lib/workspace/confirmation-popup/index.d.ts +2 -0
  453. package/lib/workspace/index.d.ts +1 -0
  454. package/lib/workspace/shared/edition-workspace.d.ts +81 -0
  455. package/lib/workspace/shared/edition-workspace.service.d.ts +45 -0
  456. package/lib/workspace/shared/feature-workspace.d.ts +3 -0
  457. package/lib/workspace/shared/feature-workspace.service.d.ts +2 -0
  458. package/lib/workspace/shared/index.d.ts +2 -0
  459. package/lib/workspace/shared/wfs-workspace.d.ts +3 -0
  460. package/lib/workspace/shared/wfs-workspace.service.d.ts +2 -0
  461. package/lib/workspace/shared/wms-workspace.service.d.ts +2 -0
  462. package/lib/workspace/shared/workspace.utils.d.ts +3 -2
  463. package/lib/workspace/workspace-selector/workspace-selector.directive.d.ts +10 -3
  464. package/lib/workspace/workspace-updator/workspace-updator.directive.d.ts +3 -1
  465. package/lib/workspace/workspace.module.d.ts +8 -5
  466. package/ngcc.config.js +3 -3
  467. package/package.json +4 -4
  468. package/style/geo.theming.scss +12 -11
@@ -8,5 +8,7 @@ export declare class ArcGISRestDataSource extends DataSource {
8
8
  options: ArcGISRestDataSourceOptions;
9
9
  protected createOlSource(): olSourceVector<OlGeometry>;
10
10
  getLegend(): Legend[];
11
+ htmlImgSrc(contentType: string, imageData: string): string;
12
+ createSVG(symbol: any): string;
11
13
  onUnwatch(): void;
12
14
  }
@@ -1,6 +1,7 @@
1
1
  import olSource from 'ol/source/Source';
2
2
  import { DownloadOptions } from '../../../download/shared/download.interface';
3
3
  import { OgcFilterOperatorType } from '../../../filter/shared/ogc-filter.enum';
4
+ import type { default as OlGeometryType } from 'ol/geom/GeometryType';
4
5
  export interface DataSourceOptions {
5
6
  type?: 'wms' | 'wfs' | 'vector' | 'wmts' | 'xyz' | 'osm' | 'tiledebug' | 'carto' | 'arcgisrest' | 'imagearcgisrest' | 'tilearcgisrest' | 'websocket' | 'mvt' | 'cluster';
6
7
  optionsFromCapabilities?: boolean;
@@ -17,6 +18,8 @@ export interface DataSourceOptions {
17
18
  stepDate?: string;
18
19
  sourceFields?: SourceFieldsOptionsParams[];
19
20
  download?: DownloadOptions;
21
+ edition?: EditionOptions;
22
+ relations?: RelationOptions[];
20
23
  }
21
24
  export interface SourceFieldsOptionsParams {
22
25
  name: any;
@@ -24,6 +27,47 @@ export interface SourceFieldsOptionsParams {
24
27
  values?: any;
25
28
  excludeFromOgcFilters?: boolean;
26
29
  allowedOperatorsType?: OgcFilterOperatorType;
30
+ step?: number;
31
+ relation?: RelationOptions;
32
+ type?: number | number[] | string | string[] | boolean | Date;
33
+ primary?: boolean;
34
+ visible?: boolean;
35
+ validation?: SourceFieldsValidationParams;
36
+ multiple?: boolean;
37
+ tooltip?: string;
38
+ }
39
+ export interface EditionOptions {
40
+ enabled: boolean;
41
+ baseUrl: string;
42
+ addUrl: string;
43
+ deleteUrl: string;
44
+ modifyUrl: string;
45
+ geomType: typeof OlGeometryType;
46
+ hasGeometry: boolean;
47
+ addWithDraw?: boolean;
48
+ messages?: any[];
49
+ addHeaders?: {
50
+ [key: string]: any;
51
+ };
52
+ modifyHeaders?: {
53
+ [key: string]: any;
54
+ };
55
+ modifyProtocol?: string;
56
+ }
57
+ export interface RelationOptions {
58
+ title: string;
59
+ name: string;
60
+ alias?: string;
61
+ icon?: string;
62
+ table: string;
63
+ parent?: string;
64
+ tooltip?: string;
65
+ }
66
+ export interface SourceFieldsValidationParams {
67
+ mandatory?: boolean;
68
+ maxLength?: number;
69
+ minLength?: number;
70
+ readonly?: boolean;
27
71
  }
28
72
  export interface Legend {
29
73
  collapsed?: boolean;
@@ -11,6 +11,7 @@ export declare class WFSDataSource extends DataSource {
11
11
  protected wfsService: WFSService;
12
12
  private authInterceptor?;
13
13
  ol: olSourceVector<OlGeometry>;
14
+ mostRecentIdCallOGCFilter: number;
14
15
  set ogcFilters(value: OgcFiltersOptions);
15
16
  get ogcFilters(): OgcFiltersOptions;
16
17
  readonly ogcFilters$: BehaviorSubject<OgcFiltersOptions>;
@@ -16,7 +16,7 @@ export declare const jsonRegex: RegExp;
16
16
  * @param ogcFilters OgcFiltersOptions
17
17
  * @returns A string representing the datasource options, based on filter and views
18
18
  */
19
- export declare function buildUrl(options: WFSDataSourceOptions, extent: any, proj: olProjection, ogcFilters: OgcFiltersOptions): string;
19
+ export declare function buildUrl(options: WFSDataSourceOptions, extent: any, proj: olProjection, ogcFilters: OgcFiltersOptions, randomParam?: boolean): string;
20
20
  /**
21
21
  * This method build/standardize WFS call query params based on the layer property.
22
22
  * @param wfsDataSourceOptions WFSDataSourceOptions The common wfs datasource options interface
@@ -8,6 +8,7 @@ export declare class DirectionsButtonsComponent {
8
8
  private messageService;
9
9
  private route;
10
10
  get activeRoute(): FeatureWithDirection;
11
+ contextUri: string;
11
12
  zoomToActiveRoute$: Subject<void>;
12
13
  stopsStore: StopsStore;
13
14
  routesFeatureStore: RoutesFeatureStore;
@@ -25,5 +26,5 @@ export declare class DirectionsButtonsComponent {
25
26
  };
26
27
  private getUrl;
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<DirectionsButtonsComponent, [null, null, { optional: true; }]>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<DirectionsButtonsComponent, "igo-directions-buttons", never, { "zoomToActiveRoute$": "zoomToActiveRoute$"; "stopsStore": "stopsStore"; "routesFeatureStore": "routesFeatureStore"; }, {}, never, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<DirectionsButtonsComponent, "igo-directions-buttons", never, { "contextUri": "contextUri"; "zoomToActiveRoute$": "zoomToActiveRoute$"; "stopsStore": "stopsStore"; "routesFeatureStore": "routesFeatureStore"; }, {}, never, never>;
29
30
  }
@@ -26,6 +26,7 @@ export declare class DirectionsComponent implements OnInit, OnDestroy {
26
26
  private isTranslating;
27
27
  previousStops: Stop[];
28
28
  private searchs$$;
29
+ contextUri: string;
29
30
  stopsStore: StopsStore;
30
31
  stopsFeatureStore: StopsFeatureStore;
31
32
  routesFeatureStore: RoutesFeatureStore;
@@ -51,5 +52,5 @@ export declare class DirectionsComponent implements OnInit, OnDestroy {
51
52
  private getRoutes;
52
53
  addStopOverlay(stop: Stop): void;
53
54
  static ɵfac: i0.ɵɵFactoryDeclaration<DirectionsComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<DirectionsComponent, "igo-directions", never, { "stopsStore": "stopsStore"; "stopsFeatureStore": "stopsFeatureStore"; "routesFeatureStore": "routesFeatureStore"; "stepFeatureStore": "stepFeatureStore"; "debounce": "debounce"; "length": "length"; "coordRoundedDecimals": "coordRoundedDecimals"; "zoomToActiveRoute$": "zoomToActiveRoute$"; }, {}, never, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<DirectionsComponent, "igo-directions", never, { "contextUri": "contextUri"; "stopsStore": "stopsStore"; "stopsFeatureStore": "stopsFeatureStore"; "routesFeatureStore": "routesFeatureStore"; "stepFeatureStore": "stepFeatureStore"; "debounce": "debounce"; "length": "length"; "coordRoundedDecimals": "coordRoundedDecimals"; "zoomToActiveRoute$": "zoomToActiveRoute$"; }, {}, never, never>;
55
56
  }
@@ -34,6 +34,8 @@ export declare class OgcFilterTimeComponent implements OnInit {
34
34
  onlyYearBegin: number;
35
35
  onlyYearEnd: number;
36
36
  calendarTypeYear: boolean;
37
+ resetIcon: string;
38
+ filterStateDisable: boolean;
37
39
  endDatepickerTime: ElementRef;
38
40
  beginDatepickerTime: ElementRef;
39
41
  beginTime: HTMLInputElement;
@@ -73,6 +75,10 @@ export declare class OgcFilterTimeComponent implements OnInit {
73
75
  handleMax(): any;
74
76
  changePropertyByPass(event: any): void;
75
77
  modeChange(event: any): void;
78
+ setFilterStateDisable(): void;
79
+ getDateFromStringWithoutTime(stringDate: string): Date;
80
+ resetFilter(): void;
81
+ toggleFilterState(): void;
76
82
  static ɵfac: i0.ɵɵFactoryDeclaration<OgcFilterTimeComponent, never>;
77
83
  static ɵcmp: i0.ɵɵComponentDeclaration<OgcFilterTimeComponent, "igo-ogc-filter-time", never, { "datasource": "datasource"; "currentFilter": "currentFilter"; }, { "changeProperty": "changeProperty"; }, never, never>;
78
84
  }
@@ -127,6 +127,7 @@ export interface OgcFilterDuringOptions extends OgcFilterAttributeOptions {
127
127
  sliderOptions?: SliderOptionsInterface;
128
128
  displayFormat?: string;
129
129
  calendarModeYear?: boolean;
130
+ title?: string;
130
131
  }
131
132
  export interface OgcFilterIsBetweenOptions extends OgcFilterAttributeOptions {
132
133
  lowerBoundary: number;
@@ -1,6 +1,5 @@
1
1
  import OlMap from 'ol/Map';
2
- import OlFeature from 'ol/Feature';
3
- import * as OlStyle from 'ol/style';
2
+ import { StyleLike as OlStyleLike } from 'ol/style/Style';
4
3
  import type { default as OlGeometryType } from 'ol/geom/GeometryType';
5
4
  import OlVectorSource from 'ol/source/Vector';
6
5
  import OlVectorLayer from 'ol/layer/Vector';
@@ -10,8 +9,8 @@ export interface DrawControlOptions {
10
9
  geometryType: typeof OlGeometryType | string;
11
10
  drawingLayerSource?: OlVectorSource<OlGeometry>;
12
11
  drawingLayer?: OlVectorLayer<OlVectorSource<OlGeometry>>;
13
- drawingLayerStyle?: OlStyle.Style | ((olFeature: OlFeature<OlGeometry>) => OlStyle.Style);
14
- interactionStyle?: OlStyle.Style | ((olFeature: OlFeature<OlGeometry>) => OlStyle.Style);
12
+ drawingLayerStyle?: OlStyleLike;
13
+ interactionStyle?: OlStyleLike;
15
14
  maxPoints?: number;
16
15
  }
17
16
  /**
@@ -39,6 +38,10 @@ export declare class DrawControl {
39
38
  * Draw select observable (modify drawn features)
40
39
  */
41
40
  select$: Subject<any>;
41
+ /**
42
+ * Draw abort observable (abort drawn features)
43
+ */
44
+ abort$: Subject<any>;
42
45
  /**
43
46
  * Freehand mode observable (defaults to false)
44
47
  */
@@ -52,6 +55,7 @@ export declare class DrawControl {
52
55
  private olModifyInteraction;
53
56
  private onDrawStartKey;
54
57
  private onDrawEndKey;
58
+ private onDrawAbortKey;
55
59
  private onDrawKey;
56
60
  private mousePosition;
57
61
  /**
@@ -1,6 +1,5 @@
1
1
  import OlMap from 'ol/Map';
2
- import OlFeature from 'ol/Feature';
3
- import * as OlStyle from 'ol/style';
2
+ import { StyleLike as OlStyleLike } from 'ol/style/Style';
4
3
  import OlVectorSource from 'ol/source/Vector';
5
4
  import OlVectorLayer from 'ol/layer/Vector';
6
5
  import OlModify from 'ol/interaction/Modify';
@@ -9,8 +8,8 @@ import { Subject } from 'rxjs';
9
8
  export interface ModifyControlOptions {
10
9
  source?: OlVectorSource<any>;
11
10
  layer?: OlVectorLayer<any>;
12
- layerStyle?: OlStyle.Style | ((olfeature: OlFeature<any>) => OlStyle.Style);
13
- drawStyle?: OlStyle.Style | ((olfeature: OlFeature<any>) => OlStyle.Style) | OlStyle.Circle | ((olfeature: OlFeature<OlGeometry>) => OlStyle.Circle);
11
+ layerStyle?: OlStyleLike;
12
+ drawStyle?: OlStyleLike;
14
13
  modify?: boolean;
15
14
  translate?: boolean;
16
15
  }
@@ -1,6 +1,5 @@
1
1
  import OlMap from 'ol/Map';
2
- import OlFeature from 'ol/Feature';
3
- import OlStyle from 'ol/style/Style';
2
+ import { StyleLike as OlStyleLike } from 'ol/style/Style';
4
3
  import OlVectorSource from 'ol/source/Vector';
5
4
  import OlVectorLayer from 'ol/layer/Vector';
6
5
  import type { default as OlGeometry } from 'ol/geom/Geometry';
@@ -9,8 +8,8 @@ import { GeometrySliceError } from '../geometry.errors';
9
8
  export interface SliceControlOptions {
10
9
  source?: OlVectorSource<OlGeometry>;
11
10
  layer?: OlVectorLayer<OlVectorSource<OlGeometry>>;
12
- layerStyle?: OlStyle | ((olfeature: OlFeature<OlGeometry>) => OlStyle);
13
- drawStyle?: OlStyle | ((olfeature: OlFeature<OlGeometry>) => OlStyle);
11
+ layerStyle?: OlStyleLike;
12
+ drawStyle?: OlStyleLike;
14
13
  }
15
14
  /**
16
15
  * Control to modify geometries
@@ -23,6 +23,12 @@ export declare abstract class Layer {
23
23
  hasBeenVisible$: BehaviorSubject<boolean>;
24
24
  private hasBeenVisible$$;
25
25
  private resolution$$;
26
+ /**
27
+ * Define if a layer is generated by code OR defined by layer/context user layer.
28
+ * Useful for filtering layers list in mapOffline.directive or in the sharemap...
29
+ * return false by default.
30
+ */
31
+ get isIgoInternalLayer(): boolean;
26
32
  get id(): string;
27
33
  get alias(): string;
28
34
  get title(): string;
@@ -5,6 +5,7 @@ import { DataSource } from '../../../datasource/shared/datasources/datasource';
5
5
  import { AnyDataSourceOptions } from '../../../datasource/shared/datasources/any-datasource.interface';
6
6
  import { MapExtent, MapViewOptions } from '../../../map/shared/map.interface';
7
7
  export interface LayerOptions {
8
+ isIgoInternalLayer?: boolean;
8
9
  source?: DataSource;
9
10
  sourceOptions?: AnyDataSourceOptions;
10
11
  title?: string;
@@ -39,6 +40,13 @@ export interface GeoWorkspaceOptions {
39
40
  minResolution?: number;
40
41
  maxResolution?: number;
41
42
  enabled?: boolean;
43
+ queryOptions?: GeoWorkspaceQueryOptions;
44
+ pageSize?: number;
45
+ pageSizeOptions?: number[];
46
+ }
47
+ export interface GeoWorkspaceQueryOptions {
48
+ mapQueryOnOpenTab?: boolean;
49
+ tabQuery?: boolean;
42
50
  }
43
51
  export interface LayersLink {
44
52
  linkId: string;
@@ -42,8 +42,9 @@ export declare class VectorLayer extends Layer {
42
42
  * @param proj the projection to retrieve the data
43
43
  * @param success success callback
44
44
  * @param failure failure callback
45
+ * @param randomParam random parameter to ensure cache is not causing problems in retrieving new data
45
46
  */
46
- private customWFSLoader;
47
+ customWFSLoader(vectorSource: any, options: any, interceptor: any, extent: any, resolution: any, proj: any, success: any, failure: any, randomParam?: boolean): void;
47
48
  /**
48
49
  * Custom loader to get feature from a WFS datasource
49
50
  * @internal
@@ -0,0 +1,20 @@
1
+ import { ConfigService } from '@igo2/core';
2
+ import { IgoMap } from '../shared/map';
3
+ import { MapExtent } from '../shared/map.interface';
4
+ import * as i0 from "@angular/core";
5
+ export declare class HomeExtentButtonComponent {
6
+ configService: ConfigService;
7
+ map: IgoMap;
8
+ color: string;
9
+ extentOverride?: MapExtent;
10
+ centerOverride?: [number, number];
11
+ zoomOverride?: number;
12
+ private homeExtentButtonExtent;
13
+ private homeExtentButtonCenter;
14
+ private homeExtentButtonZoom;
15
+ constructor(configService: ConfigService);
16
+ computeHomeExtent(): void;
17
+ onToggleClick(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<HomeExtentButtonComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<HomeExtentButtonComponent, "igo-home-extent-button", never, { "map": "map"; "color": "color"; "extentOverride": "extentOverride"; "centerOverride": "centerOverride"; "zoomOverride": "zoomOverride"; }, {}, never, never>;
20
+ }
@@ -0,0 +1 @@
1
+ export * from './home-extent-button.component';
@@ -3,8 +3,10 @@ export * from './map-browser';
3
3
  export * from './zoom-button';
4
4
  export * from './menu-button';
5
5
  export * from './geolocate-button';
6
+ export * from './home-extent-button';
6
7
  export * from './offline-button';
7
8
  export * from './baselayers-switcher';
8
9
  export * from './rotation-button';
9
10
  export * from './swipe-control';
10
11
  export * from './map-center';
12
+ export * from './info-section';
@@ -0,0 +1 @@
1
+ export * from './info-section.component';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class InfoSectionComponent {
3
+ infoContent: string;
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoSectionComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoSectionComponent, "igo-info-section", never, { "infoContent": "infoContent"; }, {}, never, never>;
7
+ }
@@ -2,24 +2,26 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./map-browser/map-browser.component";
3
3
  import * as i2 from "./zoom-button/zoom-button.component";
4
4
  import * as i3 from "./geolocate-button/geolocate-button.component";
5
- import * as i4 from "./rotation-button/rotation-button.component";
6
- import * as i5 from "./baselayers-switcher/baselayers-switcher.component";
7
- import * as i6 from "./baselayers-switcher/mini-basemap.component";
8
- import * as i7 from "./shared/mapOffline.directive";
9
- import * as i8 from "./offline-button/offline-button.component";
10
- import * as i9 from "./shared/map-pointer-position.directive";
11
- import * as i10 from "./shared/hover-feature.directive";
12
- import * as i11 from "./swipe-control/swipe-control.component";
13
- import * as i12 from "./map-center/map-center.component";
14
- import * as i13 from "./menu-button/menu-button.component";
15
- import * as i14 from "@angular/common";
16
- import * as i15 from "@igo2/core";
17
- import * as i16 from "@igo2/common";
18
- import * as i17 from "@angular/material/icon";
19
- import * as i18 from "@angular/material/button";
20
- import * as i19 from "@angular/material/tooltip";
5
+ import * as i4 from "./home-extent-button/home-extent-button.component";
6
+ import * as i5 from "./rotation-button/rotation-button.component";
7
+ import * as i6 from "./info-section/info-section.component";
8
+ import * as i7 from "./baselayers-switcher/baselayers-switcher.component";
9
+ import * as i8 from "./baselayers-switcher/mini-basemap.component";
10
+ import * as i9 from "./shared/mapOffline.directive";
11
+ import * as i10 from "./offline-button/offline-button.component";
12
+ import * as i11 from "./shared/map-pointer-position.directive";
13
+ import * as i12 from "./shared/hover-feature.directive";
14
+ import * as i13 from "./swipe-control/swipe-control.component";
15
+ import * as i14 from "./map-center/map-center.component";
16
+ import * as i15 from "./menu-button/menu-button.component";
17
+ import * as i16 from "@angular/common";
18
+ import * as i17 from "@igo2/core";
19
+ import * as i18 from "@igo2/common";
20
+ import * as i19 from "@angular/material/icon";
21
+ import * as i20 from "@angular/material/button";
22
+ import * as i21 from "@angular/material/tooltip";
21
23
  export declare class IgoMapModule {
22
24
  static ɵfac: i0.ɵɵFactoryDeclaration<IgoMapModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoMapModule, [typeof i1.MapBrowserComponent, typeof i2.ZoomButtonComponent, typeof i3.GeolocateButtonComponent, typeof i4.RotationButtonComponent, typeof i5.BaseLayersSwitcherComponent, typeof i6.MiniBaseMapComponent, typeof i7.MapOfflineDirective, typeof i8.OfflineButtonComponent, typeof i9.PointerPositionDirective, typeof i10.HoverFeatureDirective, typeof i11.SwipeControlComponent, typeof i12.MapCenterComponent, typeof i13.MenuButtonComponent], [typeof i14.CommonModule, typeof i15.IgoLanguageModule, typeof i16.IgoConfirmDialogModule, typeof i17.MatIconModule, typeof i18.MatButtonModule, typeof i19.MatTooltipModule], [typeof i1.MapBrowserComponent, typeof i2.ZoomButtonComponent, typeof i3.GeolocateButtonComponent, typeof i4.RotationButtonComponent, typeof i5.BaseLayersSwitcherComponent, typeof i6.MiniBaseMapComponent, typeof i7.MapOfflineDirective, typeof i8.OfflineButtonComponent, typeof i9.PointerPositionDirective, typeof i10.HoverFeatureDirective, typeof i11.SwipeControlComponent, typeof i12.MapCenterComponent, typeof i13.MenuButtonComponent]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoMapModule, [typeof i1.MapBrowserComponent, typeof i2.ZoomButtonComponent, typeof i3.GeolocateButtonComponent, typeof i4.HomeExtentButtonComponent, typeof i5.RotationButtonComponent, typeof i6.InfoSectionComponent, typeof i7.BaseLayersSwitcherComponent, typeof i8.MiniBaseMapComponent, typeof i9.MapOfflineDirective, typeof i10.OfflineButtonComponent, typeof i11.PointerPositionDirective, typeof i12.HoverFeatureDirective, typeof i13.SwipeControlComponent, typeof i14.MapCenterComponent, typeof i15.MenuButtonComponent], [typeof i16.CommonModule, typeof i17.IgoLanguageModule, typeof i18.IgoConfirmDialogModule, typeof i19.MatIconModule, typeof i20.MatButtonModule, typeof i21.MatTooltipModule], [typeof i1.MapBrowserComponent, typeof i2.ZoomButtonComponent, typeof i3.GeolocateButtonComponent, typeof i4.HomeExtentButtonComponent, typeof i5.RotationButtonComponent, typeof i6.InfoSectionComponent, typeof i7.BaseLayersSwitcherComponent, typeof i8.MiniBaseMapComponent, typeof i9.MapOfflineDirective, typeof i10.OfflineButtonComponent, typeof i11.PointerPositionDirective, typeof i12.HoverFeatureDirective, typeof i13.SwipeControlComponent, typeof i14.MapCenterComponent, typeof i15.MenuButtonComponent]>;
24
26
  static ɵinj: i0.ɵɵInjectorDeclaration<IgoMapModule>;
25
27
  }
@@ -12,6 +12,7 @@ export declare class MapOfflineDirective implements AfterViewInit {
12
12
  private networkState;
13
13
  private offlineButtonState;
14
14
  get map(): IgoMap;
15
+ private previousMessageId;
15
16
  constructor(component: MapBrowserComponent, networkService: NetworkService, messageService: MessageService, languageService: LanguageService);
16
17
  ngAfterViewInit(): void;
17
18
  private changeLayer;
@@ -18,6 +18,7 @@ export interface QueryableDataSourceOptions extends DataSourceOptions {
18
18
  mapLabel?: string;
19
19
  queryHtmlTarget?: QueryHtmlTarget;
20
20
  ol?: olSourceVector<OlGeometry> | olSource;
21
+ queryFormatAsWms?: boolean;
21
22
  }
22
23
  export interface QueryableDataSource extends DataSource {
23
24
  queryTitle?: string;
@@ -0,0 +1,23 @@
1
+ import { LanguageService } from '@igo2/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import * as i0 from "@angular/core";
4
+ export interface DialogData {
5
+ type: string;
6
+ cancel: boolean;
7
+ }
8
+ export declare class ConfirmationPopupComponent {
9
+ dialogRef: MatDialogRef<ConfirmationPopupComponent>;
10
+ languageService: LanguageService;
11
+ data: {
12
+ type: string;
13
+ cancel: boolean;
14
+ };
15
+ constructor(dialogRef: MatDialogRef<ConfirmationPopupComponent>, languageService: LanguageService, data: {
16
+ type: string;
17
+ cancel: boolean;
18
+ });
19
+ cancelAction(): void;
20
+ confirmedAction(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationPopupComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationPopupComponent, "igo-confirmation-popup-component", never, {}, {}, never, never>;
23
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./confirmation-popup.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/button";
5
+ import * as i4 from "@angular/material/dialog";
6
+ import * as i5 from "@angular/material/button-toggle";
7
+ /**
8
+ * @ignore
9
+ */
10
+ export declare class IgoConfirmationPopupModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoConfirmationPopupModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoConfirmationPopupModule, [typeof i1.ConfirmationPopupComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatDialogModule, typeof i5.MatButtonToggleModule], [typeof i1.ConfirmationPopupComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoConfirmationPopupModule>;
14
+ }
@@ -0,0 +1,2 @@
1
+ export * from './confirmation-popup.component';
2
+ export * from './confirmation-popup.module';
@@ -1,4 +1,5 @@
1
1
  export * from './shared';
2
+ export * from './confirmation-popup/index';
2
3
  export * from './workspace-selector/workspace-selector.directive';
3
4
  export * from './workspace-selector/workspace-selector.module';
4
5
  export * from './workspace-updator/workspace-updator.directive';
@@ -0,0 +1,81 @@
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { Workspace, WorkspaceOptions } from '@igo2/common';
3
+ import { ConfigService } from '@igo2/core';
4
+ import { BehaviorSubject } from 'rxjs';
5
+ import { ImageLayer, VectorLayer } from '../../layer';
6
+ import { IgoMap } from '../../map';
7
+ import { EditionWorkspaceService } from './edition-workspace.service';
8
+ import { DrawControl } from '../../geometry';
9
+ import { GeometryType } from '../../draw';
10
+ import type { default as OlGeometryType } from 'ol/geom/GeometryType';
11
+ import type { default as OlGeometry } from 'ol/geom/Geometry';
12
+ import * as OlStyle from 'ol/style';
13
+ import OlFeature from 'ol/Feature';
14
+ export interface EditionWorkspaceOptions extends WorkspaceOptions {
15
+ layer: ImageLayer | VectorLayer;
16
+ map: IgoMap;
17
+ }
18
+ export declare class EditionWorkspace extends Workspace {
19
+ protected options: EditionWorkspaceOptions;
20
+ private editionWorkspaceService;
21
+ private dialog;
22
+ private configService;
23
+ readonly inResolutionRange$: BehaviorSubject<boolean>;
24
+ get layer(): ImageLayer | VectorLayer;
25
+ get map(): IgoMap;
26
+ private drawControl;
27
+ private drawEnd$$;
28
+ private olDrawingLayerSource;
29
+ private olDrawingLayer;
30
+ geometryType: typeof GeometryType;
31
+ modify: any;
32
+ modifyStyle: OlStyle.Style;
33
+ private filterClauseFunc;
34
+ fillColor: string;
35
+ strokeColor: string;
36
+ strokeWidth: number;
37
+ constructor(options: EditionWorkspaceOptions, editionWorkspaceService: EditionWorkspaceService, dialog: MatDialog, configService: ConfigService);
38
+ private getInResolutionRange;
39
+ deleteFeature(feature: any, workspace: any): void;
40
+ editFeature(feature: any, workspace: EditionWorkspace): void;
41
+ /**
42
+ * Create a Draw Control
43
+ * @param fillColor the fill color
44
+ * @param strokeColor the stroke color
45
+ * @param strokeWidth the stroke width
46
+ * @returns a Draw Control
47
+ */
48
+ createDrawControl(fillColor?: string, strokeColor?: string, strokeWidth?: number): DrawControl;
49
+ /**
50
+ * Called when the user selects a new geometry type
51
+ * @param geometryType the geometry type selected by the user
52
+ */
53
+ onGeometryTypeChange(geometryType: typeof OlGeometryType, feature: any, workspace: EditionWorkspace): void;
54
+ /**
55
+ * Activate the correct control
56
+ */
57
+ private toggleDrawControl;
58
+ /**
59
+ * Deactivate the active draw control
60
+ */
61
+ deactivateDrawControl(): void;
62
+ /**
63
+ * Activate a given control
64
+ */
65
+ private activateDrawControl;
66
+ /**
67
+ * Add a feature to layer. The loading strategy of the layer
68
+ * will trigger and add the feature to the workspace store.
69
+ * @internal
70
+ */
71
+ private addFeatureToStore;
72
+ /**
73
+ * Delete drawings layer and source from the map AND feature from the entity store.
74
+ * Layer refresh will automatically add the new feature into the store.
75
+ */
76
+ deleteDrawings(): void;
77
+ /**
78
+ * Create a modify interaction to allow a geometry change one feature at the time (drag and drop)
79
+ */
80
+ createModifyInteraction(olFeature: OlFeature<OlGeometry>, feature: any, workspace: EditionWorkspace): void;
81
+ }
@@ -0,0 +1,45 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { ConfigService, LanguageService, MessageService, StorageService } from '@igo2/core';
4
+ import { AuthInterceptor } from '@igo2/auth';
5
+ import { ImageLayer, LayerService, VectorLayer } from '../../layer';
6
+ import { IgoMap } from '../../map';
7
+ import { EditionWorkspace } from './edition-workspace';
8
+ import { BehaviorSubject, Observable } from 'rxjs';
9
+ import * as i0 from "@angular/core";
10
+ export declare class EditionWorkspaceService {
11
+ private layerService;
12
+ private storageService;
13
+ private configService;
14
+ private messageService;
15
+ private languageService;
16
+ private http;
17
+ private dialog;
18
+ authInterceptor?: AuthInterceptor;
19
+ ws$: BehaviorSubject<string>;
20
+ adding$: BehaviorSubject<boolean>;
21
+ relationLayers$: BehaviorSubject<ImageLayer[] | VectorLayer[]>;
22
+ rowsInMapExtentCheckCondition$: BehaviorSubject<boolean>;
23
+ loading: boolean;
24
+ get zoomAuto(): boolean;
25
+ constructor(layerService: LayerService, storageService: StorageService, configService: ConfigService, messageService: MessageService, languageService: LanguageService, http: HttpClient, dialog: MatDialog, authInterceptor?: AuthInterceptor);
26
+ createWorkspace(layer: ImageLayer, map: IgoMap): EditionWorkspace;
27
+ private createFeatureStore;
28
+ private createTableTemplate;
29
+ private createFilterInMapExtentOrResolutionStrategy;
30
+ saveFeature(feature: any, workspace: EditionWorkspace): boolean;
31
+ addFeature(feature: any, workspace: EditionWorkspace, url: string, headers: {
32
+ [key: string]: any;
33
+ }): void;
34
+ deleteFeature(workspace: EditionWorkspace, url: string): void;
35
+ modifyFeature(feature: any, workspace: EditionWorkspace, url: string, headers: {
36
+ [key: string]: any;
37
+ }, protocole?: string): void;
38
+ cancelEdit(workspace: EditionWorkspace, feature: any, fromSave?: boolean): void;
39
+ getDomainValues(table: string): Observable<any>;
40
+ refreshMap(layer: VectorLayer, map: IgoMap): void;
41
+ validateFeature(feature: any, workspace: EditionWorkspace): boolean;
42
+ sanitizeParameter(feature: any, workspace: EditionWorkspace): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditionWorkspaceService, never>;
44
+ static ɵprov: i0.ɵɵInjectableDeclaration<EditionWorkspaceService>;
45
+ }
@@ -12,4 +12,7 @@ export declare class FeatureWorkspace extends Workspace {
12
12
  get layer(): VectorLayer;
13
13
  get map(): IgoMap;
14
14
  constructor(options: FeatureWorkspaceOptions);
15
+ getLayerWksOptionTabQuery(): boolean;
16
+ getLayerWksOptionMapQuery(): boolean;
17
+ private getInResolutionRange;
15
18
  }
@@ -1,3 +1,4 @@
1
+ import { BehaviorSubject } from 'rxjs';
1
2
  import { VectorLayer } from '../../layer';
2
3
  import { IgoMap } from '../../map';
3
4
  import { FeatureWorkspace } from './feature-workspace';
@@ -6,6 +7,7 @@ import * as i0 from "@angular/core";
6
7
  export declare class FeatureWorkspaceService {
7
8
  private storageService;
8
9
  get zoomAuto(): boolean;
10
+ ws$: BehaviorSubject<string>;
9
11
  constructor(storageService: StorageService);
10
12
  createWorkspace(layer: VectorLayer, map: IgoMap): FeatureWorkspace;
11
13
  private createFeatureStore;
@@ -2,4 +2,6 @@ export * from './wfs-workspace';
2
2
  export * from './wfs-workspace.service';
3
3
  export * from './feature-workspace';
4
4
  export * from './feature-workspace.service';
5
+ export * from './edition-workspace';
6
+ export * from './edition-workspace.service';
5
7
  export * from './workspace.utils';
@@ -12,4 +12,7 @@ export declare class WfsWorkspace extends Workspace {
12
12
  get layer(): VectorLayer;
13
13
  get map(): IgoMap;
14
14
  constructor(options: WfsWorkspaceOptions);
15
+ getLayerWksOptionTabQuery(): boolean;
16
+ getLayerWksOptionMapQuery(): boolean;
17
+ private getInResolutionRange;
15
18
  }
@@ -1,3 +1,4 @@
1
+ import { BehaviorSubject } from 'rxjs';
1
2
  import { VectorLayer } from '../../layer';
2
3
  import { IgoMap } from '../../map';
3
4
  import { WfsWorkspace } from './wfs-workspace';
@@ -6,6 +7,7 @@ import * as i0 from "@angular/core";
6
7
  export declare class WfsWorkspaceService {
7
8
  private storageService;
8
9
  get zoomAuto(): boolean;
10
+ ws$: BehaviorSubject<string>;
9
11
  constructor(storageService: StorageService);
10
12
  createWorkspace(layer: VectorLayer, map: IgoMap): WfsWorkspace;
11
13
  private createFeatureStore;