hehehe ;-)

Glad you got it fixed.

On Oct 25, 6:00 pm, Whitebeck Court <[email protected]> wrote:
> Thanks for that
> Just as you sent that someone emailed me.
> The marker now is shown and is customised a bit
> I cant believe its taken me so long to sort out, think i need a drink
> now!
>
> On Oct 25, 5:32 pm, "[email protected]" <[email protected]>
> wrote:
>
> > Sorry, in fact you have no function add Overlay, you just put the code
> > outside the initialise function!!
>
> > Copy the code below, and replace it from the start of the <script
> > type="text/javascript"> tag to the end of the </script> tag.
>
> > <script type="text/javascript">
> >         function initialize() {
> >                 var latlng = new google.maps.LatLng(53.52857, -2.19175);
> >                 var settings = {
> >                         zoom: 15,
> >                         center: latlng,
> >                         mapTypeControl: false,
> >                         mapTypeControlOptions: {style:
> > google.maps.MapTypeControlStyle.DROPDOWN_MENU},
> >                         navigationControl: false,
> >                         navigationControlOptions: {style:
> > google.maps.NavigationControlStyle.SMALL},
> >                         mapTypeId: google.maps.MapTypeId.ROADMAP
> >     };
> > var map = new google.maps.Map(document.getElementById("map_canvas"),
> > settings);
>
> > var companyPos = new google.maps.LatLng(53.52857, -2.19175);
> >   var companyMarker = new google.maps.Marker({
> >       position: companyPos,
> >       map: map,
> >       title:"Whitebeck Court"
> >   });
>
> > //map.addOverlay(companyMarker);
>
> > }
>
> > </script>
>
> > On Oct 25, 5:12 pm, Whitebeck Court <[email protected]> wrote:
>
> > > I have added that piece of code but still nothing
>
> > > On Oct 25, 4:56 pm, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > Exactly as Larry said...
>
> > > > "You don't have any code on your map to add the marker to the map.
> > > > You
> > > > need something like:
> > > > map.addOverlay(companyMarker);
>
> > > >   -- Larry"
>
> > > > So put...
>
> > > > map.addOverlay(companyMarker);
>
> > > > Just before the </script> tag...
>
> > > > var companyMarker = new google.maps.Marker({
> > > >       position: companyPos,
> > > >       map: map,
> > > >       title:"Whitebeck Court"
> > > >   });
>
> > > > map.addOverlay(companyMarker);
>
> > > > </script>
>
> > > > On Oct 25, 4:46 pm, Whitebeck Court <[email protected]> wrote:
>
> > > > > I have removed the "
> > > > > The map works but still no marker
>
> > > > > On Oct 25, 4:35 pm, "[email protected]" <[email protected]>
> > > > > wrote:
>
> > > > > > I'm surprised the map shows at the moment!
>
> > > > > > Check this line...
>
> > > > > > <script type="text/javascript" 
> > > > > > src="http://maps.google.com/maps/api/js?
> > > > > > sensor=false"&key=.......etc etc
>
> > > > > > You have a " there after the word false, remove it and see if that
> > > > > > fixes the issue first.
>
> > > > > > :)
>
> > > > > > On Oct 25, 4:25 pm, Whitebeck Court <[email protected]> 
> > > > > > wrote:
>
> > > > > > > Thanks for that, managed to get the map working,seems the "-" was 
> > > > > > > a
> > > > > > > big requirement, but the marker will not show now.
>
> > > > > > > On Oct 25, 4:15 pm, "[email protected]" <[email protected]>
> > > > > > > wrote:
>
> > > > > > > > On Oct 25, 11:05 am, Whitebeck Court <[email protected]>
> > > > > > > > wrote:
>
> > > > > > > > > I am trying to set up a map on my website. Have got the code 
> > > > > > > > > installed
> > > > > > > > > on the link below, but cannot get the map to show the right 
> > > > > > > > > position.
>
> > > > > > > > > The address I want is shown on the link. I thought the 
> > > > > > > > > long/lat code
> > > > > > > > > was correct but its showing the middle of the north sea.
>
> > > > > > > > > What have I done wrong?
>
> > > > > > > > >http://www.whitebeckcourt.info/googlemaptest.htm
>
> > > > > > > >http://www.geocodezip.com/example_geo2.asp?addr1=(53.52857,-2.19175)&...
>
> > > > > > > > The latitude and longitude I get for Whitebeckcourt is
> > > > > > > > 53.52857,-2.19175
> > > > > > > > It looks to me like you lost the "-".
>
> > > > > > > >   -- Larry
--~--~---------~--~----~------------~-------~--~----~
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