-`mapKey` is attribute name in geojson/topojson to match
-`dataKey` is column name in input dataset that matches with geojson/topojson `mapKey`
-`popup`: string / function that returns formatted value
-`popupOptions`: An object with properties and values from [leaflet popup options](https://leafletjs.com/reference-1.3.4.html#popup-l-popup)
-`tooltip`: string / function that returns formatted value.
- function(properties) must return a string. feature properties are passed as argument.
-`tooltipOptions`: An object with properties and values from [leaflet tooltip options](https://leafletjs.com/reference-1.3.0.html#tooltip-option)
-`direction` property can be a string or function. function is passed the following arguments.
-`centerPoint` is center coordinates of map view
-`tooltipPoint` is center coordinates of tooltip
-`properties` are feature properties
NOTE: `tooltip` and `tooltipOptions` are previously (till v0.9.l) are inside `attrs`. This spec breaking change is mage to maintain consistency with `popup` and `popupOptions`
- `attrs` Data driven styles. same as `options`. (`attrs` take priority over `options`)
- For `color`, `weight`, `opacity`, `fillColor`, `fillOpacity` properties, the options are:.
- `metric` string / function
...
...
@@ -1309,7 +1320,7 @@ Drilldown feature example:
- `tooltip`: string / function that returns formatted value.
- function(properties) must return a string. feature properties are passed as argument.
- TODO: the properties currently include only geoJSON properties. link properties must be added
-`tooltipOptions`: An object with properties and values from [leaflet tooltip options](https://leafletjs.com/reference-1.3.0.html#tooltip-option)
- `tooltipOptions`: An object with properties and values from [leaflet tooltip options](https://leafletjs.com/reference-1.3.0.html#tooltip-option)
-`topojson` - same as `geojson`
-`marker` layer MUST have a data as an array of objects or else MUST have a url (string).