The
Map.showCompass function enables or disables display of a compass on the
Map object map_name. If
show_condition is non-zero, a compass is
displayed on the map "when the camera is tilted or rotated away from its default orientation." By default, a compass is not shown. This functionality only works when using the Google Maps
mapping engine.