Getting variable value from repeater into javascript

I’m trying to get lat/lng from a repeater to make leaflet markers. I’ve tried every different variation of formatting I can think of and nothing returns the value.

<div class="row" is="dmx-repeat" id="repeat1" dmx-bind:repeat="sc_tripbits.data.all_tripbits">
    <script>
        var marker = L.marker([dmx.parse('repeat1.data.lat'), dmx.parse('repeat1.data.lng' )]).addTo(mymap); 
    </script>...

Thanks for any pointers!

Community Page
Last updated: