I've done a bit of tinkering with the Salesforce1 warehouse example (tutorial 6 here). I've successfully adapted the code to work with my own custom object, and I've got records showing up as pins on a Google map. Now I'm trying to change the links that show when you click the pushpins so that you go to a Visualforce page instead of the original Salesforce object (or default SF1 version of it in this case).
Here's the code I've tried most recently. Nothing happens when you click on the link in the pushpin. I've got this working on the non-salesforce1 side of things, but the methods of navigation are different.
Below is the text that appears in the browser lower margin when you hover over the pushpin link in Salesforce1 mode. Any ideas on what is wrong here? Do I need to spell out the whole Url?
edited to add
"Uncaught TypeError: undefined is not a function"