i cant understand why my  incons will not show, any help please ??

 <script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;sensor=true_or_false&amp;key=ABQIAAAAmLAjVWIN40A1cwwtT-
KuxhQGkdC1Lz_U09nAi3QnTW3eNE1uqhTRvzVnHbUJV7wQPeXpWlnmxYTOiQ"
type="text/javascript"></script>

    <script type="text/javascript">

    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());



        map.setCenter(new GLatLng(53.805181, -2.23192), 13);

var houseIcon = new GIcon();
        houseIcon.image = "www.isnhorizon.com/google_icons/house.png";
        houseIcon.iconSize = new GSize(40, 43);
        houseIcon.iconAnchor = new GPoint(15, 43);
        houseIcon.infoWindowAnchor = new GPoint(15,22);
        houseMarker = { icon:houseIcon };

        var hospitalIcon = new GIcon();
        hospitalIcon.image = "www.isnhorizon.com/google_icons/hospital.png";
        hospitalIcon.iconSize = new GSize(40, 43);
        hospitalIcon.iconAnchor = new GPoint(15, 43);
        hospitalIcon.infoWindowAnchor = new GPoint(15,22);
        hospitalMarker = { icon:hospitalIcon };

        var newsAgentIcon = new GIcon();
        newsAgentIcon.image = "www.isnhorizon.com/google_icons/
newsAgent.png";
        newsAgentIcon.iconSize = new GSize(40, 43);
    newsAgentIcon.iconAnchor = new GPoint(15, 43);
        newsAgentIcon.infoWindowAnchor = new GPoint(15,22);
        newsAgentMarker = { icon:newsAgentIcon };

        var trainStationIcon = new GIcon();
        trainStationIcon.image = "www.isnhorizon.com/google_icons/
trainstation.png";
        trainStationIcon.iconSize = new GSize(40, 43);
    trainStationIcon.iconAnchor = new GPoint(15, 43);
        trainStationIcon.infoWindowAnchor = new GPoint(15,22);
        trainStationMarker = { icon:trainStationIcon };



var shopIcon = new GIcon();
        shopIcon.image = "www.isnhorizon.com/google_icons/
shoppingcenter.png";
        shopIcon.iconSize = new GSize(40, 43);
    shopIcon.iconAnchor = new GPoint(15, 43);
        shopIcon.infoWindowAnchor = new GPoint(15,22);
        shopMarker = { icon:shopIcon };

var superMkretIcon = new GIcon();
        superMkretIcon.image = "www.isnhorizon.com/google_icons/
supermarket.png";
        superMkretIcon.iconSize = new GSize(40, 43);
    superMkretIcon.iconAnchor = new GPoint(15, 43);
        superMkretIcon.infoWindowAnchor = new GPoint(15,22);
       superMkretMarker = { icon:superMkretIcon };

}
var BurnleyCentralpoint = new GLatLng
(53.79357203323584,-2.245309352874756);
var BrennandStpoint = new GLatLng (53.805181,-2.23192);
var CshoppingCnterpoint = new GLatLng (53.789871,-2.243721);
var BurnleyHospitalpoint = new GLatLng (53.809033,-2.228186);
var IceLandpoint = new GLatLng (53.791367,-2.243636);
var NewsAgent1point     = new GLatLng (53.807436,-2.23428);
var NewsAgent2point     = new GLatLng (53.805231,-2.234194);

        var burnleyCMarker=new GMarker(BurnleyCentralpoint,
trainStationMarker);
        var brennandCMarker=new GMarker(BrennandStpoin, houseMarker);
        var CshoppingCnterCMarker=new GMarker(CshoppingCnterpoint, shopIcon);
        var BurnleyHospitalCMarker=new GMarker(BurnleyHospitalpoint,
hospitalIcon);
        var IceLandCMarker=new GMarker(IceLandpoint, superMkretIcon);
        var NewsAgent1CMarker=new GMarker(NewsAgent1point, newsAgentIcon);
        var NewsAgent2CMarker=new GMarker(NewsAgent2point, newsAgentIcon);


        GEvent.addListener(burnleyCMarker, "click", function() {
        burnleyCMarker.openInfoWindowHtml("Burnley Central Train Station 0.95
miles ");
        });

        GEvent.addListener(brennandCMarker, "click", function()
{brennandCMarker.openInfoWindowHtml("24, Brennand Street, Burnley ");
        });

        GEvent.addListener(CshoppingCnterCMarker, "click", function() {
        CshoppingCnterCMarker.openInfoWindowHtml("Carter Walk Shopping Centre
1.12 miles");
        });

        GEvent.addListener(BurnleyHospitalCMarker, "click", function() {
        BurnleyHospitalCMarker.openInfoWindowHtml("Bunrley General
Hospital");
        });

        GEvent.addListener(IceLandCMarker, "click", function() {
        IceLandCMarker.openInfoWindowHtml("Iceland Food Ltd 0.12 miles");
        });

        GEvent.addListener(NewsAgent1CMarker, "click", function() {
        NewsAgent1CMarker.openInfoWindowHtml("F. Mahood  News Agent0.06
miles");
        });
        GEvent.addListener(NewsAgent2CMarker, "click", function() {
        NewsAgent2CMarker.openInfoWindowHtml("M. Sarfraz News Agent 0.22
miles");
        });

        map.addOverlay(burnleyCMarker);
        map.addOverlay(brennandCMarker);
        map.addOverlay(CshoppingCnterCMarker);
        map.addOverlay(BurnleyHospitalCMarker);
        map.addOverlay(IceLandCMarker);
        map.addOverlay(NewsAgent1CMarker);
        map.addOverlay(NewsAgent2CMarker);

        };


    </script>

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to