Question : changing cursor ( mouse pointer ) on Marker in Google Maps

Hi,

I have an application where I show custom Markers on google Map. By default google shows Hand sign cursor in markers. How can I change this to some other cursor?
Here is my JS code

 
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
<script language="javascript">

	var gmarkers = [];

	showmap(74,31);
	var point = new GLatLng(74,31);	
	var marker = createMarker(point,1);	
	map.addOverlay(marker);	
	
	var map;
	function showmap(lat,long)
	{
		//if(initialize()){
			// create the map
			if (GBrowserIsCompatible()) {
				map = new GMap2(document.getElementById("map"));
				//map.addControl(new GLargeMapControl());
				//map.addControl(new GSmallMapControl());
				//map.addControl(new GMapTypeControl());
				map.enableScrollWheelZoom();
				map.addControl(new GLargeMapControl3D());
	
				map.setCenter(new GLatLng(lat,long), 15);
				// Add GHierarchicalMapTypeControl
				map.addMapType(G_PHYSICAL_MAP);
				var hControl = new GHierarchicalMapTypeControl();
				hControl.addRelationship(G_SATELLITE_MAP, G_HYBRID_MAP, "Labels", false);
				map.addControl(hControl);
	
			}
	
		//}
		
	}
	
	onresize = function()
	{
		//initialize();
	}
	
	// this variable will collect the html which will eventually be placed in the side_bar
	
	function createMarker(point,i,html, bullet) {
	
		// Create our "tiny" marker icon
		var Icon = new GIcon(G_DEFAULT_ICON);
		Icon.image = "<?php echo TEMPLATE_PATH; ?>/images/alphabets/a.png";
	
		// Set up our GMarkerOptions object
		markerOptions = { icon:Icon };
	
		var marker = new GMarker(point,markerOptions);
		// save the info we need to use later for the side_bar
		gmarkers[0]= marker;
		
		// add a line to the side_bar html
		
		var mark = (gmarkers.length-1);
		return marker;
	}

</script>

Answer : changing cursor ( mouse pointer ) on Marker in Google Maps

that position is coming from nothing but the longitude and lattitude on the map.

Random Solutions  
 
programming4us programming4us