title: loading external geojson file into leaflet map by using leaflet ajax
body: <p>I am trying to load external geojson by using leaflet ajax.
  I think the structure of geojson is true. This is the <a href="http://s000.tinyupload.com/?file_id=13312413146390895325" rel="nofollow noreferrer">link</a> of it.
  Here is what i did based on <a href="https://gis.stackexchange.com/questions/68489/how-to-load-external-geojson-file-into-leaflet-map">HERE</a>:</p>
  
  <p>in the head:</p>
  
  <pre><code>&lt;script src="../external/js/leaflet.js"&gt;&lt;/script&gt;
  &lt;script src="../external/js/leaflet.functionaltilelayer.js"&gt;&lt;/script&gt;  
  &lt;script src="../external/js/leaflet.ajax.min.js"&gt;&lt;/script&gt; 
  </code></pre>
  
  <p>In javascript:</p>
  
  <pre><code>var mymap = L.map('mapid',{ center: new L.LatLng(the_center_splitted[0],the_center_splitted[1]),maxZoom: 17, minZoom:11, zoom: 14}); //creating the map
  
  var gs = new L.TileLayer('../external/maps/qom/gs/gs_{x}_{y}_{z}.jpg', {opacity:    1,scheme: 'TMS'}).addTo(mymap); //loading image layer
  
  var geojsonLayer = new L.GeoJSON.AJAX("../external/map/qom/geojson/qom.geojson");
  
  geojsonLayer.addTo(mymap);
  </code></pre>
  
  <p>But the geojson file is not shown and i get this error:
  <strong>ncaught TypeError: L.GeoJSON.AJAX is not a constructor</strong><br>
  I appreciate if any one can help. 
  Thank you.             </p>