I have a result variable which contains the value like this
var result=52.2323,-1.12121,52.0000,-1.3434343,52.88989626,-1.363894732,52.0000,-1.3434343
How can i split this variable?
so that i can pass this values separately to following code:
MarkerSecond = L.marker([52.88989626, -1.363894732], { icon: greenIcon }).addTo(WktLayers);