Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5768

Allow to control the font size in maps

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4.5
    • Frontend (F)
    • None

      Please add font size control as a part of map shape configuration options to element configuration dialog.

      That way you could control the bounding rectangle of an element and change font / sizes for a specific elements

      Currently, this can be done with patch

      class.svg.map.js
      @@ -758,6 +758,7 @@
                   'y': y,
                   fill: '#' + this.map.options.theme.textcolor,
                   'anchor': anchor,
      +            'font-size': '1.4em', /* AS AN EXAMPLE */
                   background: {
                       fill: '#' + this.map.options.theme.backgroundcolor,
                       opacity: 0.7

       

       

            vmurzins Valdis Murzins
            aigars.kadikis Aigars Kadikis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: