rewrote jsni style to be similar as in g-leaflet-draw