dreesclark
(David Rees-Clark)
May 20, 2020, 12:00pm
1
Hello again.
This time I can’t set the height of the Mapview on my sitemap.
`Frame label="Persons name" {
Default item=iPhone_Name_LocationMatch
Text label="Map" icon="suitcase" {
Mapview item=iPhone_Name_Location label="Name's Location" height=5 icon="pinpoint"
}
}`
Tried setting the height parameter to different positions (before/after the other parameters), completely removing the height parameter, but to no avail - it’s always the same.
The logs don’t display any errors relatecd to my sitemap.
2 Likes
raaahbin
(Robin Darroch)
September 25, 2020, 4:41am
2
I have exactly the same problem. Would love to find a way to adjust the size of the mapview display.
Same problem here… Mapview in sitemap is always shown with same height.
Opened an issue about this:
opened 08:56PM - 20 May 21 UTC
bug
## Which UI are you reporting an issue for?
- [ ] Basic UI
## The problem
…
Mapview elements in sitemap are always shown with same height and cannot be changed by sitemap configuration.
Sitemap element:
Mapview item=ITEMNAME height=5
## Expected behavior
Height is changed according to configuration parameter "height"
## Steps to reproduce
1. Create a mapview element in your sitemap: Mapview item=ITEMNAME height=5
2. Visit your sitemap and you will see that height is smaller and cannot be modified
## Your environment
```runtimeInfo:
version: 3.1.0.M4
buildString: Milestone Build
locale: de-DE
systemInfo:
configFolder: /etc/openhab
userdataFolder: /var/lib/openhab
logFolder: /var/log/openhab
javaVersion: 11.0.11
javaVendor: Azul Systems, Inc.
javaVendorVersion: Zulu11.48+21-CA
osName: Linux
osVersion: 5.4.0-40-generic
osArchitecture: amd64
availableProcessors: 4
freeMemory: 1034848256
totalMemory: 6121586688
bindings:
- airquality
- astro
- avmfritz
- bmwconnecteddrive
- chromecast
- dwdpollenflug
- dwdunwetter
- exec
- gpstracker
- http
- ipp
- ism8
- keba
- lgwebos
- miio
- mqtt
- network
- ntp
- openweathermap
- pushover
- samsungtv
- shelly
- snmp
- spotify
- systeminfo
- tankerkoenig
- tplinksmarthome
- tr064
- wifiled
- zwave
clientInfo:
device:
ios: false
android: false
androidChrome: false
desktop: true
iphone: false
ipod: false
ipad: false
edge: false
ie: false
firefox: false
macos: false
windows: true
cordova: false
phonegap: false
electron: false
nwjs: false
webView: false
webview: false
standalone: false
os: windows
pixelRatio: 1.25
prefersColorScheme: light
isSecureContext: false
locationbarVisible: true
menubarVisible: true
navigator:
cookieEnabled: true
deviceMemory: N/A
hardwareConcurrency: 4
language: de-DE
languages:
- de-DE
- de
- en-US
- en
onLine: true
platform: Win32
screen:
width: 1536
height: 864
colorDepth: 24
support:
touch: false
pointerEvents: true
observer: true
passiveListener: true
gestures: false
intersectionObserver: true
themeOptions:
dark: light
filled: true
pageTransitionAnimation: default
bars: filled
homeNavbar: default
homeBackground: default
expandableCardAnimation: default
userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/90.0.4430.212 Safari/537.36
timestamp: 2021-05-20T20:54:54.493Z
```
## Browser console
---
## Browser network traffic
---
## Additional information
---