Wednesday, 16 September 2015

make a circle of a place in google maps

<html>
<head>
<script
src="http://maps.googleapis.com/maps/api/js">
</script>
<script>
function loadMap(){
   var mapProp = {
     center:new google.maps.LatLng(26.9509557,93.8586473),
     zoom:5,
     mapTypeId:google.maps.MapTypeId.ROADMAP
   };

   var map = new google.maps.Map(document.getElementById("googleMap"),mapProp);  
   var myCity = new google.maps.Circle({
      center:new google.maps.LatLng(26.9509557,93.8586473),
      radius:150600,
      strokeColor:"#B40404",
      strokeOpacity:0.6,
      strokeWeight:2,
      fillColor:"#B40404",
      fillOpacity:0.6
  });
   myCity.setMap(map);
}
</script>
</head>
<body onload="loadMap()">
<div id="googleMap" style="width:580px;height:400px;"></div>
</body>
</html>

locate and embed your own place in webpage with details of place

<html>
<head>
<script src="http://maps.googleapis.com/maps/api/js"></script>
<script>
function loadMap() {
   var mapOptions = {
      center:new google.maps.LatLng(26.9509557,93.8586473),
      zoom:5
   }
   var map=new google.maps.Map(document.getElementById("sample"),mapOptions);
   var marker = new google.maps.Marker({
      position: new google.maps.LatLng(26.9509557,93.8586473),
      map: map,
 draggable:true,
      icon:'myicon.png'
   });  
   marker.setMap(map);
   var infowindow = new google.maps.InfoWindow({
   content:"NH-52, North Lakhimpur, Assam, India"
  });
infowindow.open(map,marker);
}
</script>
</head>
<body onload="loadMap()">
<div id="sample" style="height: 400px; width: 580px;">
</div>
</body>
</html>

how to get the sign of rupee (Indian) in a webpage using HTML

<html>
<head>

<link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"></link>

<style>
i.custom {font-size: 6em; color: red;}
</style>

</head>
<body>
<i class="fa fa-inr custom"></i>
</body>
</html>
<!--
--!>

Sunday, 23 August 2015

Koha tutorial for beginners

Koha is an open-source Integrated Library System (in short ILS). It is basically used for library automation. By using Koha one can search a book in the system.

Advantages of using Koha
  • Open source library automation software, i.e. no need to buy a paid-one library automation software.
  • It reduces the workload of librarian.
  • By using the koha online catalogue users can search their books they are interested in or they want to issue the book form the library.
  • By using the koha catalogue (i.e. staff client) librarian and other library staff can easily maintain the library book issue and return in a very easy way.
  • The most important feature of koha is- "offline circulation" i.e. when the server is down, the the librarian can issue or receive book to/from the student/faculties/other professionals
  • we can customize our the library online catalogue by adding our own style sheets and customized pages
In next session we'll go through the installation of Koha both in windows and linux environment..

till then.... stay tune to dream technocrat blog