On Feb 8, 9:30 am, Orla Lynch <[email protected]> wrote: > I tried to change it so it now has "var latlng = new GLatLng(53.3441, > -7.3379);" but I still get the same error you got.
It works for me now (no javascript errors in IE6 or FF). You may want to move the declaration of the custom icon to before its use. -- Larry > > Thanks, > Orla > > > > On Mon, Feb 8, 2010 at 5:13 PM, Marcelo <[email protected]> wrote: > > Look at the Firefox Error console! > > ----------------------------------------------- > > Error: latlng is not defined > > Source File:http://www.epac.ie/Dealers.aspx > > Line: 22 > > ----------------------------------------------- > > > latlng is not a GMarkerOption: > >http://code.google.com/apis/maps/documentation/reference.html#GMarker > > >http://code.google.com/apis/maps/documentation/reference.html#GMarker... > > > -- > > Marcelo -http://maps.forum.nu > > -- > > > On Feb 8, 5:59 pm, Orla Lynch <[email protected]> wrote: > > > Ok I've tried to add some of the controls you suggested, here's the link > > > again:http://www.epac.ie/Dealers.aspx. I still can't seem to get it to > > > work. > > > > Thanks, > > > Orla > > > > On Mon, Feb 8, 2010 at 3:06 PM, [email protected] > > > <[email protected]>wrote: > > > > > On Feb 8, 6:53 am, Orla Lynch <[email protected]> wrote: > > > > > Sorry didn't have it online yet, just put it up to provide a link > > > >http://www.epac.ie/Dealers.aspx > > > > > do I need to post this link again? > > > > > No. > > > > > I see a map at that link. If you are expecting a marker to be on the > > > > map, you have to add it (a GIcon defines the image that is used for a > > > > GMarker), it won't appear on the map by itself. > > > > > Two references: > > > > The documentation for GMarker: > > > >http://code.google.com/apis/maps/documentation/reference.html#GMarker > > > > > Mike Williams' tutorial (lots of working examples): > > > >http://econym.org.uk/gmap/ > > > > > -- Larry > > > > > > On Mon, Feb 8, 2010 at 2:45 PM, Andrew Leach > > > > > <[email protected]>wrote: > > > > > > > On Feb 8, 2:24 pm, orla <[email protected]> wrote: > > > > > > > > I am having problems with getting the custom icon to work on my > > > > google > > > > > > > api. I can get the map to work with no markers but when I add the > > > > > > > markers there is no markers. > > > > > > > > Sorry if this is a silly question, I am new to Google API. > > > > > > > Thanks, any help would be great, > > > > > > > "Why is it not working?" is not a silly question, but help the > > Group > > > > > > to help you. Post a link. > > >http://groups.google.com/group/google-maps-api/web/why-including-a-li. > > > > .. > > > > > > > -- > > > > > > 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]<google-maps-api%2bunsubscr...@googlegroups.com> > > <google-maps-api%2Bunsubscribe@ googlegroups.com> > > > > <google-maps-api%2Bunsubscribe@ googlegroups.com> > > > > > > . > > > > > > For more options, visit this group at > > > > > >http://groups.google.com/group/google-maps-api?hl=en. > > > > > -- > > > > 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]<google-maps-api%2bunsubscr...@googlegroups.com> > > <google-maps-api%2Bunsubscribe@ googlegroups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-maps-api?hl=en. > > > -- > > 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]<google-maps-api%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-maps-api?hl=en.- Hide quoted text - > > - Show quoted text - -- 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.
