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);
});