the static_map flag needs to be set to true ...

...and should not simply set to load the static layer if the flag exists.