我遇到的问题是2指针没有正确放置。
Different placement when zoomed
我必须使用Snazzymaps。这是代码(没有样式):
{name: "KOV"});
var twee= {lat: 52.345975, lng: 6.655401};
var een= {lat: 52.366489, lng: 6.670262};
var nederland = {lat: 52.3126646, lng: 5.8707948};
var map = new google.maps.Map(document.getElementById('map'), {
center: een,
zoom: 13,
mapTypeControlOptions: {
mapTypeIds: ['KOV']
}
});
var image = {
url: 'http://kovhig793.nederland.cloudserver6.nl/bestanden/goedehuisje.png',
size: new google.maps.Size(180, 180)
};
var marker = new google.maps.Marker({
position: een,
map: map,
animation: google.maps.Animation.DROP,
title: "KOV High Five",
icon: image
});
var marker = new google.maps.Marker({
position: twee,
map: map,
animation: google.maps.Animation.DROP,
title: "KOV High Five2",
icon: image
});
有没有解决方案可以解决这个问题?或者它是Snazzymaps本身的错误?