Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

v2.0.3

Compare
Choose a tag to compare
@jgravois jgravois released this 01 Jul 19:38

Added

  • support for base64 encoded PictureMarkerSymbols. thx @ynunokawa!
  • support for overriding service symbology with 'drawingInfo' provided in L.esri.featureLayers constructor. thx @ynunokawa!
var fl = L.esri.featureLayer({
  url: 'http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer/0',
  drawingInfo: {
    "renderer": {
      "type": "simple",
      "symbol": {
        "type": "esriSMS",
        "style": "esriSMSCircle",
        "color": [115, 178, 255, 255],
        "size": 10,
        "angle": 0,
        "xoffset": 0,
        "yoffset": 0,
        "outline": {
         "color": [0, 0, 0, 255],
         "width": 1
        }
      },
      "label": "",
      "description": ""
    },
    "transparency": 0,
    "labelingInfo": null
  }
}).addTo(map);

Fixed

  • odd cases where a subset of features were drawn with leaflet symbology.

Added