Maps: Added demos
Improved setOptions by copying new objects into existing instead of creating new defaultOptions structure. Improves performance and keeps internal pointers. Closes #2469.