hi: you are right : but acctually I made some changes to my code but I still facing some problems that when I click the tracking button which calls the functions load(x,y); it is not working .and there is no marker on my map ... I am getting the x,y from my database . Andrew Leach <[email protected]> wrote:
> > On Mar 25, 10:20 am, "Tamer Hatoum" <[email protected]> > wrote: > > Hi: > > thanks for your help.. I fixed that isues but I can see the map div with the > > controls but no map... > > You do appear to be getting a map. There's quite a bit of desert! > > You do this: > load(25.46732,51.236547) where those numbers are x and y respectively, > then > map.setCenter(new GLatLng(x, y), 17) which centres on Qatar; and then > var latlng = new GLatLng(y, x); > > It would greatly aid debugging if your map variable was global. > > Andrew > > > Tamer Hatoum; Web Developer and Programmer; Qatar Navigator Est; Tel: +974 6026267; [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
