On Aug 17, 5:21 pm, jdadwilson <[email protected]> wrote:
> Thanks for all the help with my problem. I am now to the point that
> the map will display but not markers show up. Is there a way that I
> can determine if the file is being read?
>
> I implemented the code from the tutorial provided but to no avail. It
> is interesting to note that if I include a switch test just before
> reading the file nothing displays.
>
> Here is the link to my page --

http://www.txfannin.org/view_all_map.php?type=mkr

I get javascript errors on that page (in IE6):
line: 325
Error: 'request.data.responseXML' is null or not an object
(probably causes your problem, looks like you modified the downloadUrl
function)
the request.data.responseXML is incorrect:
callback(request.data.responseXML, request.status);

I would suggest finding the example from google and using that
function.

When I do that, it I get markers:
http://www.geocodezip.com/txfannin_ort_view_all_map_c.html

Line: 88
Error: 'formblock' is null or not an object
in your "prepare" function:
function prepare()
{
        formblock= document.getElementById('form_id');
there is no element with id="form_id" in the DOM (or at least I
couldn't find it with a quick search and the browser can't either)

Line: 54
Error: 'document.getElementById(...)' is null or not an object
in your initsidebar function.

  -- Larry


>
> TIA for your assistance.
>
> On Aug 13, 12:00 am, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Aug 12, 11:36 pm, "[email protected]" <[email protected]>
> > wrote:
>
> > > On Aug 12, 11:16 pm, jdadwilson <[email protected]> wrote:
>
> > > > Thanks to Rossko for providing the link to the tutorial.
>
> > > > I went through the tutorial and implemented each section of code as
> > > > instructed. Added a couple of features of my own. The map loads,
> > > > generates the XML file, displays the information I added BUT none of
> > > > the markers display.
>
> > > > Here is a link to the page:http://www.txfannin.org/towns_view_all.php
>
> > > Did you look at the javascript errors:
> > > Error: document.getElementById(menuids[i]) is null
> > > Source File:http://www.txfannin.org/towns_view_all.php
> > > Line: 55
>
> > > Error: formblock is null
> > > Source File:http://www.txfannin.org/towns_view_all.php
> > > Line: 89
>
> > > and this one would explain why no markers appear:
> > > Error: request is not defined
> > > Source File:http://www.txfannin.org/towns_view_all.php
> > > Line: 244
>
> > try data.responseXML
> > (it is a property of the first argument of the callback function)
>
> >   -- Larry
>
> > >   -- Larry
>
> > > > TIA for any help you can provide.
> > > > jdadwilson
>
> > > > On Aug 11, 2:38 pm, Rossko <[email protected]> wrote:
>
> > > > > > I need to read a series of locations from a mySQL database and then
> > > > > > add a marker to a map for each location.
>
> > > > >http://code.google.com/apis/maps/articles/phpsqlajax_v3.html- Hide 
> > > > >quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to