2013-07-18 3 views
0

기본 Google지도 아이콘과 팝업을 맞춤지도에 표시 할 수 있습니까?기본 팝업 및 마커가있는 Google지도 API3?

기본 주소 하나, 제목 방향 근처 등 등

내가 현재는 위로 마커에서 떨어져 잘 작동 설정있어 방법이 있습니다 ..

var map; 
jQuery(function($) { 
    function initialize() { 
     var styles = [ 
     { 
      stylers: [ 
      { "saturation": -100 } 
      ] 
     } 
     ]; 
     var styledMap = new google.maps.StyledMapType(styles, 
     {name: "Styled Map"}); 
     var mapOptions = { 
     zoom: 11, 
     center: new google.maps.LatLng(55.6468, 37.581), 
     mapTypeControlOptions: { 
      mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'map_style'] 
     } 
     }; 
     var map = new google.maps.Map(document.getElementById('map'), 
        mapOptions); 

     //Associate the styled map with the MapTypeId and set it to display. 
     map.mapTypes.set('map_style', styledMap); 
     map.setMapTypeId('map_style'); 
    } 

    google.maps.event.addDomListener(window, 'load', initialize); 

}); 

답변

0

맞춤지도에 기본 Google지도 아이콘과 팝업을 표시 할 수 있습니까?

기본 마커 the documentation를 참조 쉽지만, Google지도 기본 정보창에 대한 대답은,하지만 비슷한 모양과 유사한 기능을 가지고 자신의 infowindow을 만들 수 있습니다.

관련 문제