Class DefaultGeolocationConfiguration

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String OPTIONS_KEY_PREFIX
      The key prefix under which all options are stored in opennms.properties.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getOptions()
      Returns the layer options for the tile layer.
      java.lang.String getTileServerUrl()
      Returns the tile server url.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • OPTIONS_KEY_PREFIX

        public static final java.lang.String OPTIONS_KEY_PREFIX
        The key prefix under which all options are stored in opennms.properties.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultGeolocationConfiguration

        public DefaultGeolocationConfiguration()
    • Method Detail

      • getTileServerUrl

        public java.lang.String getTileServerUrl()
        Description copied from interface: GeolocationConfiguration
        Returns the tile server url. See http://leafletjs.com/reference.html#tilelayer for more details.
        Specified by:
        getTileServerUrl in interface GeolocationConfiguration
        Returns:
        the tile server url
      • getOptions

        public java.util.Map<java.lang.String,​java.lang.String> getOptions()
        Description copied from interface: GeolocationConfiguration
        Returns the layer options for the tile layer. The options should contain a 'attribution' tile layer option to honor the contributors appropriate. See http://leafletjs.com/reference.html#tilelayer-options for more details.
        Specified by:
        getOptions in interface GeolocationConfiguration
        Returns:
        the layer options for the tile layer