16 Matching Annotations
  1. May 2018
    1. $ docker volume create portainer_data $ docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/

      if the socket permission denied

      $ docker run -d -p 9000:9000 --privileged -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
      
  2. Mar 2018
    1. export var Layer = Evented.extend({

      Layer is the base class for geometry object in Leaflet.

      • base class for Marker
      • base class for Vector objects (path, polyline, polygon, circle, rectangle)
      • base class for tile layers
    1. // Adds the given layer to the group.

      addLayer method add object to LayerGroup. Since Path is extend from Layer. Almost all geometry can be applied here.

      • marker
      • path/circle/ployline/polygon
  3. Dec 2017
  4. Nov 2017
  5. Aug 2017
  6. Jul 2017