I just linked the script that is called when the page loads up. It creates the map, controls, and panorama. It's just the js part and none of the html or anything. Since it is my main one all of my public variables and everything are called in it. It's not meant to be a standalone to load the page on its own. But all my map creation and the creation of the controls are there.
For some reason it doesn't like it after I added the code for the custom control and it breaks on loading the page with the error I described. If I ignore and continue the page loads, but none of my controls are generated on the page. I think it might have something to do with me pushing the controls to the top right position, perhaps that array is not defined for some odd reason, I'm not entirely sure on that. On Thu, Jun 17, 2010 at 3:01 PM, Rossko <[email protected]> wrote: > > Code to initialize the map and create the button is located here: > http://www.suntransformer.com/peter/GoogleAPI3/test/main.js > > What is > var Path = new PathObject(); > does some other script need to be loaded first? > > -- > 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.
