optimize marker loading speed by deferring rendering until click