Class JSNodeMarker

  • All Implemented Interfaces:
    org.discotools.gwt.leaflet.client.events.handler.EventProvider, NodeMarker

    public class JSNodeMarker
    extends org.discotools.gwt.leaflet.client.marker.Marker
    implements NodeMarker
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JSNodeMarker.Property  
    • Constructor Summary

      Constructors 
      Constructor Description
      JSNodeMarker​(org.discotools.gwt.leaflet.client.jsobject.JSObject element)  
      JSNodeMarker​(org.discotools.gwt.leaflet.client.types.LatLng latLng)  
    • Constructor Detail

      • JSNodeMarker

        public JSNodeMarker​(org.discotools.gwt.leaflet.client.types.LatLng latLng)
      • JSNodeMarker

        public JSNodeMarker​(org.discotools.gwt.leaflet.client.jsobject.JSObject element)
    • Method Detail

      • putProperty

        public void putProperty​(java.lang.String key,
                                java.lang.String value)
      • getProperty

        public java.lang.String getProperty​(java.lang.String key)
      • getTextPropertyNames

        public java.util.List<java.lang.String> getTextPropertyNames()
      • getCategoryList

        public java.util.List<java.lang.String> getCategoryList()
        Specified by:
        getCategoryList in interface NodeMarker
      • getCategories

        public com.google.gwt.core.client.JsArrayString getCategories()
      • getCategoriesAsString

        public java.lang.String getCategoriesAsString()
      • setCategories

        public void setCategories​(java.lang.String[] categories)
      • getNodeId

        public java.lang.Integer getNodeId()
        Specified by:
        getNodeId in interface NodeMarker
      • getSeverity

        public java.lang.Integer getSeverity()
        Specified by:
        getSeverity in interface NodeMarker
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties()
        Specified by:
        getProperties in interface NodeMarker
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toSearchResult

        public org.discotools.gwt.leaflet.client.jsobject.JSObject toSearchResult()
      • coordinatesToLatLng

        public static org.discotools.gwt.leaflet.client.types.LatLng coordinatesToLatLng​(Coordinates coordinates)