Except as otherwise provided by law and notwithstanding any provision of its charter, a city or village shall not impose, levy or collect a tax, other than an ad valorem property tax, on any subject of taxation, unless the tax was being imposed by the city or village on January 1, 1964.