You should put configurations in the map note tag.<mv3d>enable()</mv3d> for 3D maps, and <mv3d>disable()</mv3d> for 2D maps should work.