On Sep 25, 1:32 pm, Scott Wilcox <[EMAIL PROTECTED]> wrote: > Hey folks. > > I've got various maps > (seehttp://st0ke.org/accommodation/premier_inn_(newcastle)
http://st0ke.org/accommodation/premier_inn_(newcastle) > for an example) stored on pages throughout my site. I get their lat/ > long from either google earth, or google maps and then store it within > a database. > > For some reason, the markers aren't displaying on the pages within my > website where i'd expect them to, and i can't seem to find out why. > They all appear to the left/up from where they should be. > > Does anyone know why, or have any insight on this? Where should the marker be? Actually I think you would be more correct to state that the marker is not appearing. This is incorrect: var marker = new GMarker(53.056870,-2.258075); it should be: var marker = new GMarker(new GLatLng(53.056870,-2.258075)); (like the line above it...) The GMarker constructor takes a GLatLng as the first argument, and has an optional GMarkerOptions 2nd parameter: http://code.google.com/apis/maps/documentation/reference.html#GMarker -- Larry > > Scott. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
