Those examples are outdated and shouldn't be used anymore.
Use the official wiki from dynmap as api reference.
This documentation doesn't contain full api docs for dynmap. You need a fundamental knowledge from java and the general non api usage from the dynmap.