Michael Stenta
83e6d3abfb
Add "all locations" layers to default and geofield maps via farm_ui_map instead of default behaviors.
2021-04-08 15:37:23 -04:00
Michael Stenta
b58f4f8b1a
Move dashboard map and block to farm_ui_map.
2021-04-08 14:59:39 -04:00
Michael Stenta
07b06b3a5f
Move subscriber logic for adding dashboard map asset layers to farm_ui_map.
2021-04-08 11:24:55 -04:00
Michael Stenta
746e189664
Split map logic out of farm_ui_views to a new farm_ui_map module.
2021-04-08 11:24:55 -04:00
Michael Stenta
f57cebd68f
Split Asset GeoJSON Views displays out to their own View provided by the farm_location module.
2021-04-08 11:24:55 -04:00
Michael Stenta
c750aedd36
Depend on Geofield ^1.22 and remove committed patches.
2021-04-08 11:24:55 -04:00
Michael Stenta
666d5e8151
Patch Geofield to fix Issue #3207216 : LatLon schema error: settings.output_escape missing schema
...
Note that this does not directly fix any issue in farmOS, but prevents
schema issues from happening when a LatLon formatter config is saved in
the future.
2021-04-08 11:24:55 -04:00
Michael Stenta
577f04fa0c
Patch Geofield to add support for centroid WKT in LatLon formatter (Issue #3207078 ), and remove custom geofield_centroid formatter.
2021-04-08 11:24:55 -04:00
paul121
19f8851543
Add a setting to configure if the map popup behavior is enabled.
2021-04-08 11:24:55 -04:00
paul121
848f271882
Add the asset_type_layers behavior to the asset_list map config.
2021-04-08 11:24:55 -04:00
paul121
d2d42f3811
Add an "Other locations" layer to the dashboard map.
2021-04-08 11:24:55 -04:00
paul121
a51c58185a
Add layers for location asset types to the dashboard map.
2021-04-08 11:24:55 -04:00
paul121
8b4e1eeb9f
Add cache tag on the map type.
2021-04-08 11:24:55 -04:00
paul121
7487a782e0
Remove redundant div.
2021-04-08 11:24:55 -04:00
paul121
e066abfd49
Zoom to WKT if it exists else zoom to all locations vectors.
2021-04-08 11:24:55 -04:00
paul121
b5a56381b4
Use array_replace_recursive to allow overriding of values.
2021-04-08 11:24:55 -04:00
paul121
dd423d2208
Dynamically add asset layers to the dashboard map.
2021-04-08 11:24:55 -04:00
paul121
42d1e75535
Add helper function to get the map target ID.
2021-04-08 11:24:55 -04:00
paul121
2baa65eeba
Display asset cluster layers in a separate layer group.
2021-04-08 11:24:55 -04:00
paul121
515352ef4e
Create a geojson feed of asset centroids. Change paths to be assets/geojson/{geom_type}/{asset_type}
2021-04-08 11:24:55 -04:00
paul121
e6f3ec7ece
Provide a centroid formatter to format geofield centroids as a WKT point.
2021-04-08 11:24:55 -04:00
paul121
0ad329e5fd
Add an All locations layer to default and geofield maps.
2021-04-08 11:24:55 -04:00
paul121
1383434df9
Do not default to the Assets layer group, make this optional.
2021-04-08 11:24:55 -04:00
paul121
fb09715727
Change asset geojson path to /assets/geojson/type and default to all.
2021-04-08 11:24:55 -04:00
paul121
214d9e9c1f
Recreate the exposed_filters array before creating each map layer.
2021-04-08 11:24:55 -04:00
paul121
191caffb52
Reverse layers array before adding to the map instance.
2021-04-08 11:24:55 -04:00
paul121
1178422f75
Create individual layers for land_type and structure_type assets.
2021-04-08 11:24:55 -04:00
paul121
bdfd2546c2
Add land_type and structure_type exposed filters to asset geojson display.
2021-04-08 11:24:55 -04:00
paul121
8cf638cd33
Allow the layer group to be specified.
2021-04-08 11:24:55 -04:00
paul121
325dec86a6
Render area assets on the dashboard map.
2021-04-08 11:24:55 -04:00
paul121
aa5e956717
Assemble geojson url client side.
2021-04-08 11:24:55 -04:00
paul121
ea235f2207
Render a map with asset geometries as an attachment before asset views.
2021-04-08 11:24:55 -04:00
paul121
7b17007e69
Create asset_list map type.
2021-04-08 11:24:55 -04:00
paul121
ced32098f6
Depend on farm_map.
2021-04-08 11:24:54 -04:00
paul121
5d1d7aa324
Provide an asset_type_layers map behavior.
2021-04-08 11:24:54 -04:00
paul121
90080daa90
Add geojson feed of asset geometry to the farm_assets view.
2021-04-08 11:24:54 -04:00
paul121
80e00886db
Patch views_geojson issue #3177013 : Missing configuration schema.
2021-04-08 11:24:54 -04:00
paul121
75ddc435b4
Add dependency on drupal/views_geojson to create views geojson feeds.
2021-04-08 11:24:54 -04:00
paul121
dc5dd3e2fa
Include the computed asset geometry field in views.
2021-04-08 11:24:54 -04:00
paul121
bdc0a3bb00
Allow map types to define default behaviors.
2021-04-08 11:24:54 -04:00
Michael Stenta
50560e74bf
Issue #3186746 : Add views filter handlers for bundle fields defined in views data.
2021-04-08 11:24:54 -04:00
Michael Stenta
46f4545fee
Move Quantity field after Assets and Locations in Log View.
2021-04-06 08:31:25 -04:00
paul121
deb0dc13c4
Issue #3186746 : Add views field handlers for bundle fields defined in views data.
2021-04-06 08:31:02 -04:00
Paul Weidner
7556535271
Fix farm_structure_types module info.
2021-04-06 08:07:26 -04:00
Michael Stenta
ee080f2e00
Fix "Wrong class casing" warning in PHPStorm.
2021-04-05 10:59:04 -04:00
Michael Stenta
e3d7076e45
Issue #3199413 by paul121, m.stenta: 2.x Data Stream
2021-04-01 11:23:55 -04:00
Michael Stenta
249f74d9f4
Document Data Streams in the data model docs.
2021-04-01 11:22:28 -04:00
paul121
bb02b4259b
Use array_replace_recursive to prevent merging duplicate values into arrays.
2021-04-01 11:22:28 -04:00
Michael Stenta
e3a74c18e0
Document when to run farm_migrate_sensor_data migrations.
2021-04-01 11:22:28 -04:00
Michael Stenta
3cf61d4c88
Remove LegacySensorApiInterface and call apiHandleRequest() directly.
2021-04-01 11:22:28 -04:00