So this works:
var polyline = new WatchUi.MapPolyline();
polyline.setColor(Toybox.Graphics.COLOR_RED);
polyline.setWidth(2);
polyline.addLocation(map_center);
polyline.addLocation(top_left);
MapView.setPolyline(polyline);
This doesn't:
var defaultMarker = new WatchUi.MapMarker(map_center);
defaultMarker.setIcon(WatchUi.MAP_MARKER_ICON_PIN, 0, 0);
MapView.setMapMarker(defaultMarker);
Any ideas why? I call both of the above from within the initialize function for my extended MapView class.