Pin: click to drop a dot. Line: click to start, click to add vertices, double-click to finish. Your markups persist while you pan/zoom.
Or just hard-code your KMZ load in the script with addKMZ ('kmz/your.kmz').