Disable analytics button if map isn't added.