title: How to Plot Markers on leaflet map
body: <p><a href="https://i.stack.imgur.com/ieVsC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ieVsC.png" alt="enter image description here"></a>I'am able to fetch my data from database in json format and currently i can see data in console , So my question is how can i plot the markers from the lat long which i have retrieved using this ajax call.</p>
  
  <p>How can i get marker on function success</p>
  
  <pre><code>$(document).ready(function () {
  
          $(function () {
              var pData1 = [];
              var jsonData = JSON.stringify({ pData1: pData1 });
             // var jsonArray = JSON.parse(JSON.stringify(jsonData));
              $.ajax({
                  type: "POST",
                  url: "map.aspx/getCityPopulation2",
                  data: jsonData,
                  contentType: "application/json; charset=utf-8",
                  dataType: "json",
                  success: OnSuccess,
  
              });
              function OnSuccess(response) {
                  console.log(response.d)
              }
  </code></pre>