This question is an exact duplicate of:
This is an XML entry and it takes geolocation from PHP form. I want to display those values as a map in HTML:
<entries>
<entry>
<name>Anny</name>
<email>anny1@hotmail.com</email>
<place>Fridays</place>
<comment>Very Good</comment>
<food>Jack Daniels Burger</food>
<kitchen>American</kitchen>
<rating>5</rating>
<latitude>34.7618259</latitude>
<longitude>33.0283905</longitude>
<picture/>
</entry>
</entries>
how are you generating this XML? I am assuming you use php to generate it. This here will do it via JavaScript, assuming you're using google-maps API.
maybe this can get you started:
to create the info window:
hopefully some of this can help
You want to show these LatLong points as markers, I assume. Here is how to do that in google maps.
See more at https://developers.google.com/maps/documentation/javascript/markers
Similarly you can do it in mapbox like this