Class WLeafletMap.LeafletMarker

    • Constructor Detail

      • LeafletMarker

        public LeafletMarker​(WLeafletMap.Coordinate pos)
        Create a new marker at the given position.
    • Method Detail

      • createItemJS

        protected void createItemJS​(java.lang.StringBuilder ss,
                                    java.lang.StringBuilder postJS,
                                    long id)
        Description copied from class: WLeafletMap.AbstractMapItem
        Writes the JS code to create this item to the stream.

        This method should write in ss the JS code that creates the item. The postJS stream can be used to write JS code that should be executed after the item has been created.

        Specified by:
        createItemJS in class WLeafletMap.AbstractMapItem