Hello,
I would like to know if there is a way to disable the focus on a new added annotation on mapkit js.
I have a loop that display annotation and every time the new annotation shows up, the map move the camera and set a super-dupper zoom on the new annotation. This is very annoying.
Map initialisation :
var map = new mapkit.Map("map", {
region: region,
showsCompass: mapkit.FeatureVisibility.Hidden,
showsZoomControl: true,
showsMapTypeControl: true,
showsUserLocation: true,
});
_
New annotation :
chasseur = new mapkit.Coordinate(48.8607, 2.3421);
ChasseurAnnotation = new mapkit.MarkerAnnotation(chasseur, {
color: "#001788",
title: "Chasseur",
glyphText: "\u{1F6A8}" // POLICE
});
map.showItems([ChasseurAnnotation]);
_
Thanks a lot for your further responses.