パンとズームの色をカスタマイズできるかどうか疑問に思っていました。デフォルトの白色から別のものにするか、グラデーションを追加します。私はGoogleマップが初めてで、これまでに思いついたものです。
function initialize() {
var mapOptions = {
center: new google.maps.LatLng(10.341908, 123.910602),
zoom: 16,
panControl: true,
panControlOptions: {
position: google.maps.ControlPosition.TOP_RIGHT
},
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.LARGE,
position: google.maps.ControlPosition.TOP_RIGHT
},
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map"),
mapOptions);
// Creating a marker and positioning it on the map
var marker = new google.maps.Marker({
position: new google.maps.LatLng(10.341908, 123.910602),
map: map
});
}