On Feb 17, 6:12 pm, youradds <[email protected]> wrote: > Hi, > > Got a bit of a weird one here :/ > > This code: >
Is ignored! Please read and follow the group's posting guidelines: http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical -- Marcelo - http://maps.forum.nu -- > <html> > > <head> > <meta http-equiv="Content-Type" content="text/html; > charset=windows-1252"> > <title>New Page 32</title> > </head> > > <body> > > <script src="http://maps.google.com/maps?file=api&v=2&hl=en&key=" > type="text/javascript"></script> > > <style>.gmap { > margin: 0px; > padding: 0px; > } > > .middleColumn { > margin: 0px; > padding: 0px; > }</style> > > <div align="center" > style="padding: 10px 10px 10px 10px;"> > > <div > id="map_canvas" style="width: 500px; height: 300px" > class="gmap display"></div> > > </div> > > <script > type="text/javascript"> > > if > (GBrowserIsCompatible()) { > var map = new > GMap2(document.getElementById("map_canvas")); > > map.setCenter(new GLatLng(-0.1263427734375,51.47625114982365), > 5); > > > map.setUIToDefault(); > > map.setMapType(G_HYBRID_MAP); > > > map.addOverlay(new > GMarker("-0.1263427734375","51.47625114982365")); > > } > > </script> > > </body> > > </html> > > ...*should* show London as the center point... yet it doesn't ... its > showing somewhere in Ethiopia for me. > > The long/lat values look right, so I'm a bit confused as to whats > going on. > > Any ideas? Been going around in circles for the last hour or so trying > to work this out :( > > TIA > > Andy -- 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.
