leaflet-storymaps-with-google-sheets icon indicating copy to clipboard operation
leaflet-storymaps-with-google-sheets copied to clipboard

Add a custom number or id to the marker

Open Robot8A opened this issue 2 years ago • 1 comments

Apart from the option "Numbered", add an option "CustomNumbered" (or similar), and a way to specify the custom number or identifier of the marker.

Robot8A avatar Oct 05 '22 18:10 Robot8A

Hi @Robot8A and thank you for the suggestion.

I'm inclined to keeping it limited to simply Numbered to avoid over-complicating the template. You can always edit your code around line 156 to get desired numbers. For example, if you want even numbering (2, 4, 6, ...), you could do chapterCount * 2 like this:

number: c['Marker'] === 'Plain' ? '' : chapterCount * 2,

ilyankou avatar Oct 05 '22 21:10 ilyankou