On Sep 24, 9:44 am, David Violette <[email protected]> wrote:
> Larry:
> You must have received a different (old) version of TestMap because there is
> no reference to Fall2010.kml in the current one and Black is not used. To
> help avoid caching problems I have uploaded a new file as
> Violette.com/TestMap2.aspx.
>
> TestMap2 does use directions service.
I get errors on that map as well:
Line: 145
Error: '4' is null or not an object
on this line:
var isStop = spotPlace[4];
Which may explain your problems.
This entry in your TripMarkersActual is not the same as the others:
['Silver Springs NV', 39.4161922, -119.224832, 3, 'via', '', '',
''],
-- Larry
>
> Thanks on #4.
> TestMap2 should help with #1-3.
>
> Thanks,
> Dave
>
> On Fri, Sep 24, 2010 at 9:22 AM, [email protected]
> <[email protected]>wrote:
>
>
>
> > On Sep 24, 8:52 am, WebEngineer <[email protected]> wrote:
> > > I am a newbie working on a map system for my web site atwww.Violette.com
> > .
> > > We are traveling in our motorhome and I want to display two tracks:
> > > the one we have followed and the one we plan. Each track consists of
> > > several waypoints; the routes must go through each waypoint but
> > > markers are only placed at points shown as 'stop' in the record.
>
> > > See my test at
>
> >http://www.Violette.com/TestMap.aspx
>
> > I get javascript errors:
> > Line: 1
> > Error: 'Black' is undefined
>
> > This file cannot be accessed publicly:
> >http://www.violette.com/MapFiles/Fall2010.kml
>
> > > I have some questions:
>
> > > 1. Why does each route ignore the next-to-last waypoint and how to fix
> > > this?
> > > 2. Why does each route only show a leg from the two-from-last waypoint
> > > to the last waypoint and how to fix this?
>
> > Probably caused by the javascript error. Although I don't see any
> > attempts to use the directions service on your map.
>
> > > 3. How can I make the polyline for each route use the polylineOptions
> > > for strokeColor and strokeWeight instead of showing a black line of
> > > the same weight? If I do not specify polylineOptions the lines are
> > > blue and #2 is avoided but #1 still applies.
>
> > You should be able to use whatever polylineOptions you want.
>
> > > 4. Is there a polylineOption for line types other than solid (e.g.:
> > > dashed)?
>
> > No.
>
> > -- Larry
>
> > > Thanks for any help!!
> > > Dave
>
> > --
> > 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]<google-maps-js-api-v3%2b[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- 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.