Title: Numeric Markers
Last modified: September 2, 2022

---

# Numeric Markers

 *  Resolved [Ray Hollister](https://wordpress.org/support/users/rayhollister/)
 * (@rayhollister)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/numeric-markers/)
 * I need to make a map with numbered markers on it. Would you consider adding Awesome
   Markers to the extensions plugin? This [specific distribution](https://github.com/lennardv2/Leaflet.awesome-markers/tree/6dd41539428caa28f75b30fa2cd8dcba2c202a86/dist)
   with alphabetical and numeric markers would be incredibly helpful!

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [Ray Hollister](https://wordpress.org/support/users/rayhollister/)
 * (@rayhollister)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/numeric-markers/#post-15974939)
 * Actually, this might be even better: [https://github.com/coryasilva/Leaflet.ExtraMarkers](https://github.com/coryasilva/Leaflet.ExtraMarkers)
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/numeric-markers/#post-15975027)
 * I’ll take a look at it.
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/numeric-markers/#post-15992487)
 * You can test it now: [https://leafext.de/en/marker/extramarker/](https://leafext.de/en/marker/extramarker/)
 *  Thread Starter [Ray Hollister](https://wordpress.org/support/users/rayhollister/)
 * (@rayhollister)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/numeric-markers/#post-16007198)
 * That is awesome. Thank you so much!
 * Sadly this only gets me about halfway to what I need. Of course, I made the mistake
   of assuming the extramarkers would be backwards compatible with the same features
   that leaflet-marker has, specifically being able to put an address in the shortcode
   and putting HTMl in the description. I’m guessing that Extra Markers would have
   to be changed to get those to work, right?
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/numeric-markers/#post-16007565)
 * HTML in description – you mean e.g. a Link? This seems a bug, thank you very 
   much for testing. What else are you missing?
 *  Thread Starter [Ray Hollister](https://wordpress.org/support/users/rayhollister/)
 * (@rayhollister)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/numeric-markers/#post-16010246)
 * Yep, links break it. I will confirm, but I think even `<strong> or <em>` breaks
   it.
    -  This reply was modified 3 years, 8 months ago by [Ray Hollister](https://wordpress.org/support/users/rayhollister/).
 *  Thread Starter [Ray Hollister](https://wordpress.org/support/users/rayhollister/)
 * (@rayhollister)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/numeric-markers/#post-16010690)
 * Seriously, thank you!
 * Here’s two examples:
    This one is working, but the description is not **bold**
   even though it is in a `<strong>` tag.
 * [https://porchfest-wjct.pantheonsite.io/jaxmusic/extra-marker-test/](https://porchfest-wjct.pantheonsite.io/jaxmusic/extra-marker-test/)
 * Here’s the shortcode I used:
 *     ```
       [leaflet-map lat=29.871672082404032 lng=-81.29361038423357 height=600 zoom=13 detect-retina fitbounds zoomcontrol scrollwheel tileurl=https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png attribution='Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.']
       [extramarker lat=29.871672082404032 lng=-81.29361038423357 markerColor=purple shape=circle icon=fa-number number=1]<strong>Test 1</strong>[/extramarker]
       [extramarker lat=29.892448944865485 lng=-81.31283436952994 markerColor=purple shape=circle icon=fa-number number=2]<strong>Test 2</strong>[/extramarker]
       [cluster]
       [fullscreen]
       [zoomhomemap fit/!fit]
       ```
   
 * Here’s the second example. It is breaking. The only difference is I put in `<
   a href="/jaxmusic/">Test 1</a>` in the description.
    [https://porchfest-wjct.pantheonsite.io/jaxmusic/extra-marker-test-2/](https://porchfest-wjct.pantheonsite.io/jaxmusic/extra-marker-test-2/)
 * Here’s the shortcode I used for it:
 *     ```
       [leaflet-map lat=29.871672082404032 lng=-81.29361038423357 height=600 zoom=13 detect-retina fitbounds zoomcontrol scrollwheel tileurl=https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png attribution='Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.']
       [extramarker lat=29.871672082404032 lng=-81.29361038423357 markerColor=purple shape=circle icon=fa-number number=1]<a href="/jaxmusic/">Test 1</a>[/extramarker]
       [extramarker lat=29.892448944865485 lng=-81.31283436952994 markerColor=purple shape=circle icon=fa-number number=2]<strong>Test 2</strong>[/extramarker]
       [cluster]
       [fullscreen]
       [zoomhomemap fit/!fit]
       ```
   
 * [extramarker] also breaks and gives the same error if there is a linebreak in
   the description.
 * Here’s the error it’s kicking out:
    `Fatal error: Uncaught RuntimeException: 
   Unclosed string at position: 687 in /code/wp-content/plugins/extensions-leaflet-
   map-github-main/pkg/JShrink/Minifier.php:500 Stack trace: #0 /code/wp-content/
   plugins/extensions-leaflet-map-github-main/pkg/JShrink/Minifier.php(258): JShrink\
   Minifier->saveString() #1 /code/wp-content/plugins/extensions-leaflet-map-github-
   main/pkg/JShrink/Minifier.php(154): JShrink\Minifier->loop() #2 /code/wp-content/
   plugins/extensions-leaflet-map-github-main/pkg/JShrink/Minifier.php(122): JShrink\
   Minifier->minifyDirectToOutput('\r\n`
    -  This reply was modified 3 years, 8 months ago by [Ray Hollister](https://wordpress.org/support/users/rayhollister/).
      Reason: adding the error message
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/numeric-markers/#post-16014529)
 * Now the Github version should work.
    You should use: `[leflet-map fitbounds ....]`
   and `[zoomhomemap fit]` or `[zoomhomemap !fit]` I have tried to document how `
   fitbounds` and `fit` work: [https://leafext.de/en/doku/zoomhome/](https://leafext.de/en/doku/zoomhome/).
   For marker is it better, you use `leaflet-map fitbounds`.
    -  This reply was modified 3 years, 8 months ago by [hupe13](https://wordpress.org/support/users/hupe13/).
 *  Plugin Author [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/numeric-markers/#post-16111051)
 * Published in version 3.2.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Numeric Markers’ is closed to new replies.

 * ![](https://ps.w.org/extensions-leaflet-map/assets/icon-256x256.png?rev=3067862)
 * [Extensions for Leaflet Map](https://wordpress.org/plugins/extensions-leaflet-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/extensions-leaflet-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/extensions-leaflet-map/)
 * [Active Topics](https://wordpress.org/support/plugin/extensions-leaflet-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/extensions-leaflet-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/extensions-leaflet-map/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [hupe13](https://wordpress.org/support/users/hupe13/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/numeric-markers/#post-16111051)
 * Status: resolved