This is my complete leaflet code with OSM Geocoder facility, but i got error 'L' is not define at yellow line, can some one tell what's the problem... ? And also tell me some debug method...
Thanks...
<!DOCTYPE html>
<html>
<head>
<title>osmGeocoder Search plugin for Leaflet Map</title>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="\leaflet\leaflet.css"/>
</hea
<body>
<div id="map" style="width: 600px; height:400px"></div>
<script type="\leaflet\leaflet.js"></script>
</script>
<script>
var map = L.map('map').setView([-41.2858, 174.78682], 14);
L.tileLayer(
attribution: 'Map data © ' + maplink,
maxZoom: 18,
}).addTo(map);
var osmGeocoder = new L.Control.OSMGeocoder();
map.addControl(osmGeocoder);
</script>
</body>
</html>