package com.atmob.map_amap_android.contants;

public class Constants {

    public static final String MAP_NAME = "amap map";

    //定位持续流通道名称
    public static final String MAP_LOCATION_EVENT_CHANNEL = "atmob_map_location_event_channel";

    //地图方法通道名称
    public static final String MAP_METHOD_CHANNEL = "atmob_map_method_channel";

    /*******渠道名称********/
    public static final String MAP_VIEW_CHANNEL_NAME = "com.atmob.flutter_map/map_view_";


    //地图widget_viewType
    public static final String MAP_WIDGET_VIEW_TYPE = "com.atmob.flutter.map";

    /*******方法名称********/
    /*******基础功能********/
    public static final String METHOD_INIT = "init";
    public static final String METHOD_GET_PLATFORM_MAP_NAME = "getPlatformMapName";
    public static final String METHOD_START_LOCATION = "startLocation";//开启定位


    /**
     * 轨迹
     */
    public static final String METHOD_QUERY_PROCESSED_TRACE = "trace#queryProcessedTrace";


    /***********************************************地图操作相关********************************/
    public static final String METHOD_MOVE_CAMERA = "map#moveCamera";
    public static final String METHOD_ANIMATE_CAMERA = "map#animateCamera";
    public static final String METHOD_MAP_CLEAR = "map#clear";
    public static final String METHOD_MAP_MOVE_TO_SUITABLE_LOCATION = "map#moveToSuitableLocation";
    public static final String METHOD_MAP_INTERACTION_ENABLED = "map#interactionEnabled";
    public static final String METHOD_MAP_LOGO_VISIBLE = "map#logoVisible";

    public static final String[] METHOD_ID_LIST_FOR_MAP = {METHOD_MOVE_CAMERA, METHOD_ANIMATE_CAMERA, METHOD_MAP_CLEAR, METHOD_MAP_MOVE_TO_SUITABLE_LOCATION, METHOD_MAP_INTERACTION_ENABLED, METHOD_MAP_LOGO_VISIBLE};

    /**
     * markers
     */
    public static final String METHOD_UPDATE_OR_ADD_MARKERS = "marker#updateOrAddMarkers";
    public static final String METHOD_REPLACE_ALL_MARKERS = "marker#replaceAllMarkers";
    public static final String METHOD_MARKER_ON_TAP = "marker#onTap";
    public static final String METHOD_REMOVE_MARKER = "marker#removeMarker";


    public static final String[] METHOD_ID_LIST_FOR_MARKER = {METHOD_UPDATE_OR_ADD_MARKERS, METHOD_REPLACE_ALL_MARKERS, METHOD_MARKER_ON_TAP, METHOD_REMOVE_MARKER};


    /**
     * 线
     */
    public static final String METHOD_UPDATE_OR_ADD_POLYLINE = "polyline#addPolyline";
    public static final String METHOD_REMOVE_POLYLINE = "polyline#removePolyline";
    public static final String METHOD_CLEAR_ALL_POLYLINES = "polyline#clearAllPolylines";

    public static final String[] METHOD_ID_LIST_FOR_POLYLINE = {METHOD_UPDATE_OR_ADD_POLYLINE, METHOD_REMOVE_POLYLINE,METHOD_CLEAR_ALL_POLYLINES};


}
