Geomap: Update documentation for 9.3 (#59164)

* Geomap: Update documentation for 9.3

* Update docs/sources/panels-visualizations/visualizations/geomap/index.md

Co-authored-by: Nathan Marrs  <nathanielmarrs@gmail.com>
This commit is contained in:
Drew Slobodnjak 2022-11-23 11:46:04 -08:00 committed by GitHub
parent 4d8e681b96
commit 38b74d8bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,12 +81,13 @@ There are three map layer types to choose from in the Geomap visualization.
- [Heatmap]({{< relref "#heatmap-layer" >}}) visualizes a heatmap of the data. - [Heatmap]({{< relref "#heatmap-layer" >}}) visualizes a heatmap of the data.
- [GeoJSON]({{< relref "#geojson-layer" >}}) renders static data from a GeoJSON file. - [GeoJSON]({{< relref "#geojson-layer" >}}) renders static data from a GeoJSON file.
There are also four alpha layer types. There are also five alpha layer types.
- [Night / Day (alpha)]({{< relref "#night--day-layer-alpha" >}}) renders a night / day region. - [Night / Day (alpha)]({{< relref "#night--day-layer-alpha" >}}) renders a night / day region.
- **Icon at last point (alpha)** renders an icon at the last data point. - **Icon at last point (alpha)** renders an icon at the last data point.
- **Dynamic GeoJSON (alpha)** styles a GeoJSON file based on query results. - **Dynamic GeoJSON (alpha)** styles a GeoJSON file based on query results.
- **Route (alpha)** render data points as a route. - **Route (alpha)** render data points as a route.
- [Photos layer (Alpha)]({{< relref "#photos-layer-alpha" >}}) renders a photo at each data point.
> **Note:** [Basemap layer types]({{< relref "#types-1" >}}) can also be added as layers. You can specify an opacity. > **Note:** [Basemap layer types]({{< relref "#types-1" >}}) can also be added as layers. You can specify an opacity.
@ -351,6 +352,34 @@ The Night / Day layer displays night and day regions based on the current time r
- [**Extensions for OpenLayers - DayNight**](https://viglino.github.io/ol-ext/examples/layer/map.daynight.html) - [**Extensions for OpenLayers - DayNight**](https://viglino.github.io/ol-ext/examples/layer/map.daynight.html)
## Photos layer (Alpha)
The Photos layer renders a photo at each data point.
{{< figure src="/static/img/docs/geomap-panel/geomap-photos-9-3-0.png" max-width="1200px" caption="Geomap panel Photos" >}}
### Options
- **Image Source Field** select a string field containing image data in either of the following formats
- **Image URLs**
- **Base64 encoded** image binary ("data:image/png;base64,...")
- **Kind** select the frame style around the images
- **Square**
- **Circle**
- **Anchored**
- **Folio**
- **Crop** toggle if the images are cropped to fit
- **Shadow** toggle a box shadow behind the images
- **Border** set the border size around images
- **Border color** set the border color around images
- **Radius** set the overall size of images in pixels
{{< figure src="/static/img/docs/geomap-panel/geomap-photos-options-9-3-0.png" max-width="1200px" caption="Geomap panel Photos options" >}}
### More information
- [**Extensions for OpenLayers - Image Photo Style**](http://viglino.github.io/ol-ext/examples/style/map.style.photo.html)
## Map Controls ## Map Controls
The map controls section contains various options for map information and tool overlays. The map controls section contains various options for map information and tool overlays.