set cssOpts.mapName to the spriteName