create states from map image