All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.maps.model.TransitRoutingPreference Maven / Gradle / Ivy

package com.google.maps.model;

import com.google.maps.internal.StringJoin.UrlValue;
import java.util.Locale;

/** Indicates user preference when requesting transit directions. */
public enum TransitRoutingPreference implements UrlValue {
  LESS_WALKING,
  FEWER_TRANSFERS;

  @Override
  public String toString() {
    return name().toLowerCase(Locale.ENGLISH);
  }

  @Override
  public String toUrlValue() {
    return name().toLowerCase(Locale.ENGLISH);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy