Skip to content

Commit e868057

Browse files
committed
shareTag was moved
1 parent 89dbbf5 commit e868057

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ Other options:
6565
| `popupIconLength` | Number | `30` | Maximum title length for using `L.PopupIcon` for markers.
6666
| `externalEndpoint` | String | *see source code* | URL of a map sharing server, for `showExternal()` and the upload button.
6767
| `uploadButton` | Boolean | `false` | Whether to allow uploading maps to a sharing server from editor.
68-
| `shareTag` | String | `'mapid'` | A bbcode tag for external map id. If empty, upload button is hidden and `showExternal()` method is disabled.
6968
| `polygonOpacity` | Number | `0.1` | Fill opacity for polygons.
7069
| `leafletOptions` | Object | `{}` | Additional options passed to `L.Map` constructor.
7170
| `hideInsideClasses` | String[] | `[]` | List of classes inside which map panel will not be displayed (useful for disabling maps in signatures).
@@ -123,6 +122,7 @@ complete regular expressions for the code and following methods:
123122
| `decimalDigits` | Number | 5 | Number of decimal digits in coordinates in generated bbcode.
124123
| `brackets` | String | `[]` | Brackets for bbcode. Can be replaced with `<>` or `()`.
125124
| `tagParams` | Boolean | `false` | If set to `true`, opening tag should be specified with parameters: `[map z="1" ll="2,3"]`. Together with `brackets` option this allows for HTML-like tags.
125+
| `shareTag` | String | `'mapid'` | A bbcode tag for external map id.
126126

127127
Since brackets can be modified, there are some extra methods for getting opening and closing tags. All of them return strings.
128128

0 commit comments

Comments
 (0)