Commit graph

21 commits

Author SHA1 Message Date
Nathan Reese
75f8ac424e
[Maps] Add support for geohex_grid aggregation (#127170)
* [Maps] hex bin gridding

* remove console.log

* disable hexbins for license and geo_shape

* fix jest tests

* copy cleanup

* label

* update clusters SVG with hexbins

* show as tooltip

* documenation updates

* copy updates

* add API test for hex

* test cleanup

* eslint

* eslint and functional test fixes

* eslint, copy updates, and more doc updates

* fix i18n error

* consolidate isMvt logic

* copy review feedback

* use 3 stop scale for hexs

* jest snapshot updates

* Update x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx

Co-authored-by: Nick Peihl <nickpeihl@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
2022-03-23 08:20:10 -06:00
Lisa Cawley
e72dafc038
[DOCS] Add anomaly layer in Maps (#126397) 2022-03-01 07:43:46 -08:00
Thomas Neirynck
33fd1bdff0
[Maps] Use ES mvt (#114553)
* tmp

* tmp

* tmp

* tmp

* tmp

* use es naming

* typo

* organize files for clarity

* plugin for hits

* tmp

* initial styling

* more boilerplate

* tmp

* temp

* add size support

* remove junk

* tooltip

* edits

* too many features

* rename for clarity

* typing

* tooltip improvements

* icon

* callouts

* align count handling

* typechecks

* i18n

* tmp

* type fixes

* linting

* convert to ts and disable option

* readd test dependencies

* typescheck

* update yarn lock

* fix typecheck

* update snapshot

* fix snapshot

* fix snapshot

* fix snapshot

* fix snapshot

* fix test

* fix tests

* fix test

* add key

* fix integration test

* move test

* use centroid placement

* more text fixes

* more test fixes

* Remove top terms aggregations when switching to super fine resolution (#114667)

* [Maps] MVT metrics

* remove js file

* updateSourceProps

* i18n cleanup

* mvt labels

* remove isPointsOnly from IVectorSource interface

* move get_centroid_featues to vector_layer since its no longer used in server

* labels

* warn users when selecting scaling type that does not support term joins

* clean up scaling_form

* remove IField.isCountable method

* move pluck code from common to dynamic_style_property

* move convert_to_geojson to es_geo_grid_source folder

* remove getMbFeatureIdPropertyName from IVectorLayer

* clean up cleanTooltipStateForLayer

* use euiWarningColor for too many features outline

* update jest snapshots and eslint fixes

* update docs for incomplete data changes

* move tooManyFeatures MB layer definition from VectorLayer to TiledVectorLayer, clean up VectorSource interface

* remove commented out filter in tooltip_control add api docs for getMbLayerIds and getMbTooltipLayerIds

* revert changing getSourceTooltipContent to getSourceTooltipConfigFromGeoJson

* replace DEFAULT_MAX_RESULT_WINDOW with loading maxResultWindow as data request

* clean up

* eslint

* remove unused constants from Kibana MVT implemenation and tooManyFeaturesImage

* add better should method for tiled_vector_layer.getCustomIconAndTooltipContent jest test

* fix tooltips not being displayed for super-fine clusters and grids

* fix check in getFeatureId for es_Search_sources only

* eslint, remove __kbn_metadata_feature__ filter from mapbox style expects

* remove geoFieldType paramter for tile API

* remove searchSessionId from MVT url since its no longer used

* tslint

* vector tile scaling option copy update

* fix getTile and getGridTile API integration tests

* remove size from _mvt request body, size provided in query

* eslint, fix test expect

* stablize jest test

* track total hits for _mvt request

* track total hits take 2

* align vector tile copy

* eslint

* revert change to EsSearchSource._loadTooltipProperties with regards to handling undefined _index. MVT now provides _index

* clean up

* only send metric aggregations to mvt/getGridTile endpoint

* update snapshot, update getGridTile URLs in tests

* update request URL for getGridTile

* eslint

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-25 10:41:04 -06:00
Luke Elmers
57e395540d
[docs] Update Maps docs based on 7.14 UI. (#104762) 2021-08-13 10:51:38 -06:00
Aaron Caldwell
c02cdd85fe
Format numbers in TOC pop-up and add layer menu to locale (#105165)
* Format numbers in TOC pop-up and add layer menu to locale

* Review feedback + format a couple other counts

* Update jest test
2021-07-13 10:17:53 -04:00
Nathan Reese
a70bd991ab
[Maps] top hits layer wizard (#95678)
* [Maps] top hits source

* add icon

* top hits form

* clean up icon

* create descriptor

* add update editor

* update docs

* tslint and i18n fixes

* update jest test

* add sort inputs to create UI

* review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-01 13:21:14 -06:00
Nathan Reese
fa82f630a0
[Maps] 7.11 documentation updates (#85857)
* [Maps] 7.11 documenation updates

* update search docs with time filter legend indicator

* clean up tracks description

* fix duplicate id

* Update docs/maps/search.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* add percentile metric aggregation

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-12-15 12:37:16 -07:00
Nathan Reese
9da5df9ee6
docs test (#81080) 2020-10-19 18:41:37 -06:00
Nathan Reese
22c1b9e8ac
[maps] 7.10 documentation updates (#79917)
* [maps] 7.10 documenation updates

* clean up

* clean up connect-to-elasticsearch reference to renamed page

* Update docs/maps/vector-layer.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* move upload intro sentences into geospatial import block

* improvements to Import geospatial data

* fix typo

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/import-geospatial-data.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-10-19 15:42:15 -06:00
Nathan Reese
679209b308
[Maps] 7.9 documenation updates (#71893)
* [Maps] 7.9 documenation updates

* more cleanup

* add vector tiles card to tile layers page
2020-07-17 11:38:45 -06:00
Nathan Reese
62434fef4b
[Maps] 7.8 documentation updates (#65502)
* [Maps] 7.8 documenation updates

* remove more uses for source

* map settings

* remove number of categories

* review feedback

* remove word 'cards'

* clean up description of heatmap layer

* Update docs/maps/map-settings.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-05-12 10:28:52 -06:00
Thomas Neirynck
ca91ec55b4
[Maps] Rename geo_tile display points option to clusters (#54973) 2020-01-16 11:47:20 -05:00
Nathan Reese
47e5342c27
[Maps] get max_result_window and max_inner_result_window from index settings (#53500)
* [Maps] pull ES_SIZE_LIMIT and top hits limit from index settings

* get fetch working

* get min values from indicies response

* use indexSettings.maxResultWindow in documents request size

* use max_inner_result_window to define top hits max

* update jest test

* update docs

* more docs changes for top hits

* fix line spacing

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-layer.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* add api integration test for indexSettings route

* eslint fixes

* review feedback

* display toast on first index settings fetch failure

* clean up

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-02 12:25:28 -07:00
Nathan Reese
33d704b3d5
[skip-ci][Maps] Add tooltip documenation (#48171)
* [skip-ci][Maps] Add tooltip documenation

* mention field formatters

* gchap's updates
2019-10-21 12:02:34 -06:00
Nathan Reese
e5f72d54bc
[skip-ci][Maps] Point to point source docs (#45441)
* [skip-ci][Maps] Point to point source docs

* review feedback
2019-09-12 15:06:53 -06:00
Nathan Reese
e40359958f
[Maps] Update titles and descriptions for data sources (#44833)
* [Maps] Update titles and descriptions for data sources

* update kibana tilemap source description

* Update x-pack/legacy/plugins/maps/public/layers/sources/es_pew_pew_source/es_pew_pew_source.js

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* update functional test dataTestSubj click handles based on source name changes

* update TMS source descriptions to be more consistent
2019-09-05 20:38:01 -06:00
Nathan Reese
690532aa2f
[Maps] increase document limit from 2048 to 10000 (#39697)
* [Maps] increase document limit from 2048 to 10000

* [Maps] increase document limit from 2048 to 10000

* rename DEFAULT_ES_DOC_LIMIT to ES_SIZE_LIMIT
2019-06-27 15:55:12 -06:00
Nathan Reese
1682d165ac
[Maps] add documenation for "most recent entities" (#39478)
* agg docs

* add docs for most recent entities

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* use bold instead of code case

* clean up wording of how to enable most recent entities
2019-06-26 09:28:03 -06:00
Nathan Reese
81c15adf34
[Maps] Update Vector Style docs to define vector styles per feature type (#39214)
* [Maps] Update Vector Style docs to define vector styles per feature type

* remove intro to point, polygon, and line sections

* Update docs/maps/vector-style-properties.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style-properties.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style-properties.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style-properties.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-06-19 06:13:55 -06:00
Lisa Cawley
8f66a1e6f4
[DOCS] Adds X-Pack icon for maps (#34170) 2019-04-01 08:32:11 -07:00
Nathan Reese
4098f3f99b
[Maps] docs (#32130)
* [Maps] docs

* unique ids

* use hyphen instead of underscore in file names

* get everything working

* add screen shots of layer types

* add sources to layer documentation

* terms join example

* vector styling

* clean up

* link to geo_point for grid agg source

* minor clean up

* review feedback

* Update docs/maps/index.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/heatmap-layer.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/heatmap-layer.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/heatmap-layer.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* rest of changes suggested by gchaps

* update terms join intro
2019-03-04 12:18:20 -07:00