본문 바로가기

Maps

[Android Library] android-maps-extensions Android Map API 이용시 유용하다 Marker Clustering 기능이 있고 애니메이션 등등 다양한 기능이 있다. 사이트는 여기에~! 간단한 예제 (Marker clustering기능) final com.google.android.gms.maps.GoogleMap realMap =((MapFragment)this.getFragmentManager().findFragmentById(R.id.main_map)).getMap(); this.mMap = ExtendedMapFactory.create(realMap, this); final ClusteringSettings clusteringSettings = new ClusteringSettings();clusteringSettings.cluster.. 더보기
[Android] Map InfoWindow Custom하기~! 1. InfoWindowAdapter 인터페이스를 상속받아 구현하기~! public class SomethingWindowAdapter implements InfoWindowAdapter{ /* * Constructor */public SomethingWindowAdapter (final Context context) {this.mView = (View)((LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE)).inflate(리소스, null);}//end constructor/* * InfoWindowAdapter */@Overridepublic View getInfoContents (final Marker marker) {~.. 더보기
[Android] Google Maps Android API v2 간단 사용법 아래의 내용들은 여기 내용을 보고 참고하였습니다. GoogleMap 컴포넌트 가져오기 private GoogleMap mMap; ... mMap = ((MapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap(); Map 타입 정의GoogleMap map; ... // Sets the map type to be "hybrid" map.setMapType(GoogleMap.MAP_TYPE_HYBRID); Map 타입 종류NormalTypical road map. Roads, some man-made features, and important natural features such as rivers are shown. Road and feat.. 더보기