I dont do any db work in my Gmaps code.  I generate myself xml and use
GDownloadUrl.  I attempted what you said a few times, can't get the
map to load.  Any way you can give me an example using my code as a
base?




On Sep 9, 9:47 pm, KirAsh4 <[email protected]> wrote:
> On Sep 9, 10:39 pm, GG <[email protected]> wrote:
>
> > I'd be willing to give that a shot.  I have no idea how.  Do you?
> > Any other methods for managing a system like this?
>
> I'm going to assume that you currently have a function defined that
> does your DB query.  Tell the "move" listener to trigger it:
>
> GEvent.addListener(map, "move", function() {
>   function_that_calls_query();
>
> }
>
> Next step, write it in such a way that it passes LatLng and rewrite
> your query function to queyr the DB based on that LatLng.
>
> Once that's done, drop a delay in the listener: sleep(3000) // 3
> second delay
>
> Start there, get it working.  Once you get that, search Google on how
> to add a <div> layer to your map that you can turn on and off when
> needed.  It's all defined in CSS and you change it's .visible property
> through JS.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to