• As we add new markers using the shortcode:
    [leaflet-marker address=”Chicago, IL”]
    [leaflet-marker address=”Overland Park, KS”]
    [leaflet-marker address=”Albany, NY”]

    I couldn’t help but notice that the plugin is making multiple <script> Tags.
    Why??
    I have 300 markers so that would mean 301 <script> tags it seems.
    Couldn’t the multiple markers be added as an array to just one script tag when using L.marker? For instance: L.marker = ['array of coordinates']

    Am I missing something?

    • This topic was modified 4 years, 3 months ago by samjco.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Multiple Script tags???’ is closed to new replies.