Package com.buzzcoders.yasw.widgets.map.core

Examples of com.buzzcoders.yasw.widgets.map.core.MarkerOptions


   *
   * @param arguments the arguments containing the information
   * @return {@link MarkerOptions} instance
   */
  public static MarkerOptions getMarkerOptions(Object[] arguments) {
    MarkerOptions options = new MarkerOptions();
    // LatLng
    options.setPosition(new LatLng(
        (Double) arguments[OPTIONS_LAT_INDEX],
        (Double) arguments[OPTIONS_LNG_INDEX]));
    // Draggable
    options.setDraggable((Boolean)arguments[OPTIONS_DRAGGABLE_INDEX]);
    // Animation
    options.setAnimation(getMarkerAnimation((Double)arguments[OPTIONS_ANIMATION_INDEX]));
    // Visible
    options.setVisible((Boolean)arguments[OPTIONS_VISIBLE_INDEX]);
    // Clickable
    options.setClickable((Boolean)arguments[OPTIONS_CLICKABLE_INDEX]);
    return options;
  }
View Full Code Here

TOP

Related Classes of com.buzzcoders.yasw.widgets.map.core.MarkerOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.