On Mar 27, 11:51 am, daniel <[email protected]> wrote:
> I don't an 'edit', but I will just add this, my demo will have
> polylines, those were testing bus routes around the buildings.  There
> should be polygons showing in red to resemble buildings.

You have a problem with your xml processing:
Your points and levels strings are attributes of the xml elements, not
xml attributes.

To get them, change:
  var points = states[a].getElementsByTagName("points");
  var levels = states[a].getElementsByTagName("levels");

To:
  var points = states[a].getAttribute("points");
  var levels = states[a].getAttribute("levels");

(or change your xml structure)

  -- Larry


>
> On Mar 27, 1:50 pm, daniel <[email protected]> wrote:
>
>
>
> > Yea I had checked again, gone.  That is hows its been all morning.  I
> > still can't seem to get the polygons to show up though.
>
> > I'm not sure what you mean by HTML validation errors, I had checked
> > with the w3schools validation, it only comes back with javascript
> > items.
>
> > On Mar 27, 1:44 pm, "[email protected]" <[email protected]>
> > wrote:
>
> > > On Mar 27, 11:19 am, daniel <[email protected]> wrote:
>
> > > > Hello,
>
> > > > I am in a transition of adding all my data to a database, so in the
> > > > process I have encoded all of my buildings (polygons).
>
> > > > Now I have built a little demo to get them working before adding them
> > > > to my main map application.
>
> > > > But I am having a little difficulty and I keep getting a syntax error
> > > > for the doctype.  I feel like there is something I am overlooking.  I
> > > > think a second pair of eyes looking it over would pay off.
>
> > > > Here is my 
> > > > demo:http://wds.semo.edu/map/Map(2)/marker-drag-poly-encoded.html
>
> > > I don't get any issue with IE6.  What do you mean by "I keep getting a
> > > syntax error for the doctype" while "I no longer get any errors in the
> > > error console in Firefox"?
>
> > > Are they HTML validation errors?
>
> > >    -- Larry
>
> > > > Oh, just to add, I no longer get any errors in the error console in
> > > > Firefox.
>
> > > > Thanks- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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