I am using asp.net and C# and I am retriving the data correctly from the database with a real time tracking I am using a <asp:Timer that refreshs the database ..but my problem is not here .. I am getting confused once I create a function to intialize my map so I have created other one to plot my markers , but how can I define the map two times .... Andrew Leach <[email protected]> wrote:
> > On Mar 31, 9:47 am, "Tamer Hatoum" <[email protected]> > wrote: > > that is my point how to do that <how I can only refresh the markers without > > refreshing my page. > > when the database have a new value it calls the function which plots the > > markers??? > > It's called AJAX (Asynchronous Javascript And XML): have a look at > Mike's tutorial > http://econym.org.uk/gmap/ > and especially Part 11 and Part 3. You can create XML dynamically with > a server-side script: using something like GDownloadUrl(makeMyXml.php? > parameter=4,callbackfunction) where your script creates XML will work > just as well as downloading a static XML file which resides on your > server. > > You don't have to use XML as the data transfer format, but the process > (request the data from the server and then use it when it arrives) is > the same. > > 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 -~----------~----~----~----~------~----~------~--~---
