The error I am getting is something like object map is null or not and
object.
I think what the problem is that the geocoding function is occurring
before the map variable is initialised.
Unfortunately I can't think of a way around this although it should be
fairly simple.
As per Mike Williams notes which were very helpful. I have called the
map after adding the markers to the array within the load function().

What I am thinking I need is either two load functions or an initialize
() so that I can define the map variable prior to geocoding otherwise
I need some way to define the a map variable independent of the marker
manager.

On Jan 15, 3:28 pm, NicholasGAddy <[email protected]> wrote:
> Hi,
>
> I am using the GMarkerManager function to display lots of points using
> GDownloadUrl with PHP to read from a database.
>
> What I am trying to achieve is to display this set of points but only
> within zoom levels 14 to 16 (which I can do no problem), and have a
> user input an address which is geocoded on the fly and then zooms and
> pans to that point thereby displaying the locations from the database
> within that area. I can get each piece to work indepently but not
> together.
> That is I can perform the single geocode using a small javascript
> function
>
> <form action="index6.php" onsubmit="showLocation(); return false;">
>
> the problem I think is that the multiple points are displayed in the
> load() function which conflicts with the showLocation function.
>
> would like to hear from anyone with experience in this type of problem
>
> /*sorry I have to post code as I am working on an internal domain*/
-- 
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