mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
`IVectorSource` interface has many similar sounding methods that are used for different purposes. These lead to confusion and an unclear API * getFieldNames * getFields * getFieldByName Although `getFieldNames` sounds similar to `getFields`, the 2 are used for very different purposes. * getFieldNames returns a string array that is used to trigger source re-fetch * getFields returns an array of fields to drive UI such as field selection for data driven styling `getFieldNames` overlaps 100% in functionality with `getSyncMeta` and is not needed. Combining output of `getFieldNames` into `getSyncMeta` simplifies the `IVectorSource` API and removes some confusion. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
common | ||
public | ||
kibana.jsonc | ||
README.md | ||
tsconfig.json |
Third party maps source example plugin
An example plugin for a custom raster tile source in Maps.
This example plugin uses a time-enabled radar imagery service from the U.S. National Weather Service. The service URL contains a {time}
template field that is populated as Unix time from the Kibana time picker. The time slider in Maps can also be used to animate the service.
Demo
- Open a new Map and modify the time picker to the "Last 2 hours".
- Click "Add layer" and choose "Weather" to add the layer to the map.
- You should see current precipitation models over the U.S.
- Use the timeslider to animate the radar model.
Development
See the kibana contributing guide for instructions setting up your development environment.