Implement Map.toDataUrl() method