Handle the fact that our GeonodeViwer is used on map and layer page