com.amap.api.services.route.TaxiItem Java Examples
The following examples show how to use
com.amap.api.services.route.TaxiItem.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: BusRouteOverlay.java From TraceByAmap with MIT License | 5 votes |
private void addTaxiMarkers(TaxiItem taxiItem) { LatLng position = AMapUtil.convertToLatLng(taxiItem .getOrigin()); String title = taxiItem.getmSname()+"打车"; String snippet = "到终点"; addStationMarker(new MarkerOptions().position(position).title(title) .snippet(snippet).anchor(0.5f, 0.5f).visible(nodeIconVisible) .icon(getDriveBitmapDescriptor())); }
Example #2
Source File: BusRouteOverlay.java From BmapLite with GNU General Public License v3.0 | 5 votes |
private void addTaxiMarkers(TaxiItem taxiItem) { LatLng position = AMapUtil.convertToLatLng(taxiItem .getOrigin()); String title = taxiItem.getmSname()+"打车"; String snippet = "到终点"; addStationMarker(new MarkerOptions().position(position).title(title) .snippet(snippet).anchor(0.5f, 0.5f).visible(nodeIconVisible) .icon(getDriveBitmapDescriptor())); }
Example #3
Source File: BusRouteOverlay.java From BmapLite with Apache License 2.0 | 5 votes |
private void addTaxiMarkers(TaxiItem taxiItem) { LatLng position = AMapUtil.convertToLatLng(taxiItem .getOrigin()); String title = taxiItem.getmSname()+"打车"; String snippet = "到终点"; addStationMarker(new MarkerOptions().position(position).title(title) .snippet(snippet).anchor(0.5f, 0.5f).visible(nodeIconVisible) .icon(getDriveBitmapDescriptor())); }
Example #4
Source File: BusRouteOverlay.java From TraceByAmap with MIT License | 4 votes |
private void addTaxiStep(TaxiItem taxi){ addPolyLine(new PolylineOptions().width(getRouteWidth()) .color(getBusColor()) .add(AMapUtil.convertToLatLng(taxi.getOrigin())) .add(AMapUtil.convertToLatLng(taxi.getDestination()))); }
Example #5
Source File: BusRouteOverlay.java From BmapLite with GNU General Public License v3.0 | 4 votes |
private void addTaxiStep(TaxiItem taxi){ addPolyLine(new PolylineOptions().width(getRouteWidth()) .color(getBusColor()) .add(AMapUtil.convertToLatLng(taxi.getOrigin())) .add(AMapUtil.convertToLatLng(taxi.getDestination()))); }
Example #6
Source File: BusRouteOverlay.java From BmapLite with Apache License 2.0 | 4 votes |
private void addTaxiStep(TaxiItem taxi){ addPolyLine(new PolylineOptions().width(getRouteWidth()) .color(getBusColor()) .add(AMapUtil.convertToLatLng(taxi.getOrigin())) .add(AMapUtil.convertToLatLng(taxi.getDestination()))); }