This method will pass {@link MapboxNavigationOptions} from the {@link NavigationViewOptions}
to this view model to be used to initialize {@link MapboxNavigation}.

@param options to init MapboxNavigation
192938
void initialize(NavigationViewOptions options) {
    MapboxNavigationOptions navigationOptions = options.navigationOptions();
    navigationOptions = navigationOptions.toBuilder().isFromNavigationUi(true).build();
    initializeLanguage(options);
    initializeTimeFormat(navigationOptions);
    initializeDistanceFormatter(options);
    if (!isRunning()) {
      LocationEngine locationEngine = initializeLocationEngineFrom(options);
      initializeNavigation(getApplication(), navigationOptions, locationEngine);
      addMilestones(options);
      initializeVoiceInstructionLoader();
      initializeVoiceInstructionCache();
      initializeNavigationSpeechPlayer(options);
    }
    router.extractRouteOptions(options);
  }
197929
private void applyViewOptions(OptionsParam options) {
		if (getView() == null) {
			return;
		}

		breakPanel.setButtonsLocation(options.getViewParam().getBrkPanelViewOption());
		breakPanel.setButtonMode(options.getParamSet(BreakpointsParam.class).getButtonMode());
	}
1113182
public final void setNavigationWidth(@Px final int width) {
        Condition.INSTANCE.ensureGreater(width, 0, "The width must be greater than 0");
        this.navigationWidth = width;

        if (!isNavigationHidden()) {
            RelativeLayout.LayoutParams layoutParams =
                    (RelativeLayout.LayoutParams) toolbar.getLayoutParams();
            layoutParams.width = width;
            toolbar.requestLayout();
        }
    }
1126774
private function initOptions()
    {
        $this->optionsResolver->setDefaults([
            'criteria' => null,
            'collection' => [],
        ]);

        $this->optionsResolver->setAllowedTypes('collection', [
            'array',
            Traversable::class,
            Selectable::class
        ]);

        $this->optionsResolver->setAllowedTypes('criteria', ['null', Criteria::class]);
    }
36556
public void setOptions(java.util.Collection<Option> options) {
        if (options == null) {
            this.options = null;
            return;
        }

        this.options = new com.amazonaws.internal.SdkInternalList<Option>(options);
    }
412339
public void setChildChannelOptions(final Map<ChannelOption, Object> channelOptions) {
        this.childChannelOptions = channelOptions == null ? Collections.<ChannelOption, Object> emptyMap()
            : channelOptions;
    }
537736
public void initialize(OnNavigationReadyCallback onNavigationReadyCallback) {
    this.onNavigationReadyCallback = onNavigationReadyCallback;
    if (!isMapInitialized) {
      mapView.getMapAsync(this);
    } else {
      onNavigationReadyCallback.onNavigationReady(navigationViewModel.isRunning());
    }
  }
545304
private void init() {

//        MarginLayoutParams marginParams = new ViewGroup.MarginLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, (int) getContext().getResources().getDimension(R.dimen.bottom_navigation_padded_height)));
//        marginParams.setMargins(0, (int) getContext().getResources().getDimension(R.dimen.bottom_navigation_top_margin_correction), 0, 0);

        setLayoutParams(new ViewGroup.LayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)));

        LayoutInflater inflater = LayoutInflater.from(getContext());
        View parentView = inflater.inflate(R.layout.bottom_navigation_bar_container, this, true);
        mBackgroundOverlay = parentView.findViewById(R.id.bottom_navigation_bar_overLay);
        mContainer = parentView.findViewById(R.id.bottom_navigation_bar_container);
        mTabContainer = parentView.findViewById(R.id.bottom_navigation_bar_item_container);

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
            this.setOutlineProvider(ViewOutlineProvider.BOUNDS);
        } else {
            //to do
        }

        ViewCompat.setElevation(this, mElevation);
        setClipToPadding(false);
    }
15243
function(options) { 
		inputEx.MapField.superclass.setOptions.call(this, options);
		this.options.className = options.className || 'inputEx-Field inputEx-MapField';
		
		this.options.width = options.width || '400px';
		this.options.height = options.height || '400px';
		this.options.loading = options.loading || 'loading....';

		this.options.lat = options.lat || inputEx.MapFieldGlobals.lat;
		this.options.lon = options.lon || inputEx.MapFieldGlobals.lon;
		this.options.uzoom = options.uzoom || inputEx.MapFieldGlobals.uzoom;
		this.options.api = options.api || inputEx.MapFieldGlobals.api;
		this.options.api_key = options.api_key || inputEx.MapFieldGlobals.api_key;
	}
28428
function(options) {
        OpenLayers.Layer.Grid.prototype.initialize.apply(
            this, [options.name, options.url, {}, options]
        );
        this.tileOptions = OpenLayers.Util.extend({
            utfgridResolution: this.utfgridResolution
        }, this.tileOptions);
    }
1115118
private void initializeNavigationWidth(final SharedPreferences sharedPreferences) {
        String key = getString(R.string.navigation_width_preference_key);
        String defaultValue = getString(R.string.navigation_width_preference_default_value);
        int width = Integer.valueOf(sharedPreferences.getString(key, defaultValue));
        setNavigationWidth(dpToPixels(this, width));
    }
327567
private static void serverOptionInit() {
        Map<String, Object> mapConfig = Config.getInstance().getJsonMapConfigNoCache(SERVER_CONFIG_NAME);
        ServerOption.serverOptionInit(mapConfig, getServerConfig());
    }
979134
function(options) {
        OpenLayers.Control.Panel.prototype.initialize.apply(this, [options]);
        this.addControls([
            new OpenLayers.Control.ZoomIn(),
            new OpenLayers.Control.ZoomToMaxExtent(),
            new OpenLayers.Control.ZoomOut()
        ]);
    }
1345902
public ElementWithOptions setOptions(LinkedHashMap<String, String> options) {
        this.optionGroups.clear();
        for (Map.Entry<String, String> entry : options.entrySet()) {
            this.addOption(entry.getKey(), entry.getValue());
        }

        return this;
    }
980947
function init() {
  var myOptions = {
    zoom: 15,
    center: new google.maps.LatLng(35.23, -80.84),
    mapTypeId: google.maps.MapTypeId.ROADMAP,
    mapTypeControlOptions: {
      mapTypeIds: [google.maps.MapTypeId.ROADMAP]
    }
  }
  map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
  poly = new google.maps.Polygon({
    strokeWeight: 3,
    fillColor: '#5555FF'
  });
  poly.setMap(map);
  poly.setPaths(new google.maps.MVCArray([path]));
  
  google.maps.event.addListener(map, 'click', addPoint);
  svc = new gmaps.ags.GeometryService('http://sampleserver3.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer');
  iw = new google.maps.InfoWindow({
    maxWidth: 250,
    content: 'Draw polygon by:<ul><li>Click map to add a Vertex<li>Drag marker to adjust<li>Click marker to delete vertex</ul><!--center><button onclick="closeWin()">OK</button></center-->',
    position: map.getCenter()
  });
  iw.open(map);
}
645314
function(options) {
      inputEx.Field.superclass.setOptions.call(this, options);
      
      this.options.wirable = lang.isUndefined(options.wirable) ? false : options.wirable;
      this.options.container = options.container;
      options.container = null;
   }
1012791
private void initialize() {
        this.setLayout(new CardLayout());
        this.setName(Constant.messages.getString("conn.options.title"));
        
        this.add(getPanelProxyChain(), getPanelProxyChain().getName());
	}