ipu的trunk版的android工程和服务端工程。

activity_bdmap.xml 1.8KB

    <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <com.baidu.mapapi.map.MapView android:id="@+id/bdMapView" android:layout_width="match_parent" android:layout_height="match_parent" android:clickable="true"/> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_above="@+id/ll_addoverlay"> <Button android:id="@+id/location" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="0" android:text="定位"/> <Button android:id="@+id/pointSin" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="定位单点"/> <Button android:id="@+id/pointMul" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="定位多点"/> </LinearLayout> <LinearLayout android:id="@+id/ll_addoverlay" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_alignParentBottom="true"> <Button android:id="@+id/addMarker" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="添加标注"/> <Button android:id="@+id/addPolygon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="添加覆盖物"/> </LinearLayout> </RelativeLayout>