When I do not use GIcon(), the location point is displayed correctly. However, when i use GIcon(), the location is displayed at an incorrect place. Here is my code:
<script language="javascript">
var Icon = new GIcon();
Icon.image = "images/myicon.png";
Icon.iconSize = new GSize(10, 10);
Icon.iconAnchor = new GPoint(5, 34);
Icon.infoWindowAnchor = new GPoint(5, 2);
var markers = [{'latitude': 169.132892, 'longitude': -44.698667, 'name': 'dsfsdfljsldk' }]; var map;
var centerLatitude = 18.17;
var centerLongitude = 127.57;
var startZoom = 2;
</script>