I have the below JS code which creates like (47.624718,-122.356133)
var point = new GLatLng(
parseFloat(markers[i].getAttribute(\"lat\")),
parseFloat(markers[i].getAttribute(\"lng\"))
);
To only make the value JUST 47.624718 -122.356133 ? how can I use the js replace() function to do so?
Just use the object methods: