Fixed issue with legend not working when map loom is imbedded in geonode.