Okay, I've been digging around a bit more. The error: for(var c=0,d=K(a);c<d;++c)b(a[c],c)
So its hitting the for loop for(var c=0,d=K(a);c<d;++c) and is trying to do the following: b(a[c],c) Okay, a is an array. C is determined to be 2 at the point of it causing the error. So a[2],2 is what I have so far. b is some sort of object but no clue what object it is. I can pull out quite a bit of odds and ends of information from the debugger but not sure what is relevant and what isn't. On Tue, Jun 15, 2010 at 1:15 PM, Nathan Raley <[email protected]> wrote: > I didn't like the drag and drop of the peg man preferred the ability to add > the street view overlay and click on the location in the overlay and get the > panorama for the street view location of where the user clicked. > > I sort of had to do this in a round about manner. I have several > intersections defined there and whenever the user clicks on the street view > button it adds the overlay and sets the pano at the intersection they have > selected. Since there are no intersections then you have to click on the > street view overlay in order to get the location. > > I know this isn't the best manner of which to do it b/c it is basically > calling the map click event and pulling the point. In version 3 of the api > we no longer have the ability to retrieve the overlay or overlaylatln that > we were able to before so I am sticking with this basic manner until/if the > map click event regains that functionality. > > I just wanted to also add thanks for all the help thus far. It's been a > bit of a pain trying to reproduce this and I'm not sure what is causing this > error still. I know I haven't been able to get it to reproduce in the same > code on the page I provided you. However it still is occurring in the > embedded map. I have tried taking out chunks of the extra javascript > includes that I have and therefore cutting out the extra pieces of code that > they included, and I still get this error. > > The really odd thing is this: > If you pan around left and right and pass over the point that causes the > error, it will fire off every single time in the embedded app. However, if > you have clicked and manually panned, and then pan left or right and pass > over the point in question, it doesn't cause this error. So apparently > something is being set differently when you manually move the pano viewpoint > around that is causing this condition to not cause an error. I'm just not > sure what it is. > > > On Tue, Jun 15, 2010 at 1:05 PM, Nathan Raley <[email protected]> wrote: > >> Click on a position that has a street view location as per the street view >> overlay and it will load the pano. >> >> >> On Tue, Jun 15, 2010 at 1:03 PM, Chad Killingsworth < >> [email protected]> wrote: >> >>> I saw the button and it enables the StreetViewOverlay type layer. >>> However, I'm not seeing an actual panorama anywhere. >>> >>> Chad KIllingsworth >>> >>> On Jun 15, 12:51 pm, Nathan Raley <[email protected]> wrote: >>> > Nice, I didn't catch the unload part. >>> > >>> > For the street view overlay to show I have a button in my c++. >>> > >>> > When that button is clicked it loads up my overlay. >>> > >>> > I added a button in javascript with similar functionality to the one in >>> the >>> > c++ code. Its at the very bottom left of the page. You might not >>> have >>> > noticed it. >>> > >>> > On Tue, Jun 15, 2010 at 12:30 PM, Chad Killingsworth < >>> > >>> > >>> > >>> > [email protected]> wrote: >>> > > What do you do on your standalone map to get the pano to show? I >>> > > enabled it with DOM Manipulation but it wasn't tied to anything. >>> > >>> > > Also, you have a GUnload function defined on the body tag. That's not >>> > > needed in v3 and it's causing a javascript error. >>> > >>> > > Chad Killingsworth >>> > >>> > > On Jun 15, 10:15 am, Nathan Raley <[email protected]> wrote: >>> > > > Okay, giving another status update. >>> > >>> > > > It appears that if I drag to pan around before using the control to >>> pan >>> > > > around, I don't get the error crossing that intersection. >>> > >>> > > > However, if I reset the pano position and only use the arrows, I >>> get the >>> > > > error each time I pass by. >>> > >>> > > > Could it have something to do with the control setting the panorama >>> > > position >>> > > > and doing the pan to in the street view? Is there a way I could >>> add >>> > > error >>> > > > handling to the event that is fired off during the pan to and if it >>> fires >>> > > > off an error catch it in a try catch? >>> > >>> > > > On Tue, Jun 15, 2010 at 10:03 AM, Nathan Raley < >>> [email protected]> >>> > > wrote: >>> > > > > And further analysis states that it is expecting a '{' >>> > >>> > > > > On Tue, Jun 15, 2010 at 10:02 AM, Nathan Raley < >>> [email protected] >>> > > >wrote: >>> > >>> > > > >> Another note, using Microsoft Script editor instead of Visual >>> Studio >>> > > it is >>> > > > >> showing the error at line 15: >>> > > > >> function Zy(a,b,c,d,e,f,g,h) >>> > >>> > > > >> On Tue, Jun 15, 2010 at 9:58 AM, Nathan Raley < >>> [email protected] >>> > > >wrote: >>> > >>> > > > >>> One of the intersections my embedded application is getting an >>> error >>> > > at >>> > > > >>> is Wilson and Felicia. >>> > >>> > > > >>> On Tue, Jun 15, 2010 at 9:53 AM, Nathan Raley < >>> [email protected] >>> > > >wrote: >>> > >>> > > > >>>> Link is at: >>> > > > >>>> >>> http://www.suntransformer.com/peter/GoogleAPI3/GoogleAPIv3test.html >>> > >>> > > > >>>> < >>> > >http://www.suntransformer.com/peter/GoogleAPI3/GoogleAPIv3test.html >>> > > >Although >>> > > > >>>> I haven't been able to reproduce it in the standalone. >>> However, I >>> > > do still >>> > > > >>>> receive the error at the same intersections every time in the >>> street >>> > > view on >>> > > > >>>> the one embedded in my c++ application. It is even triggering >>> this >>> > > when the >>> > > > >>>> markers aren't present in the street view panorama. >>> > >>> > > > >>>> So it's not marker related. Any other ideas? >>> > >>> > > -- >>> > > 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%[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. >>> >>> -- >>> 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%[email protected]> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/google-maps-js-api-v3?hl=en. >>> >>> >> > -- 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.
