Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
MapKit JS Annotation load performace
Hi.
I'm having the same issue and I have done two web pages examples one using Google Maps and another using MapKit JS exactly with the same datapoint and using on MapKit JS MarkerAnnotation following the suggestion on this trend.
The diference in performance it's of several orders of magnitude in favor of Google.
The use case its the same in both - reading a Json web php with datapoints ...
In MapKit JS I'm doing :
function displayLocation(map, location) {
var coordinates = new mapkit.Coordinate(parseFloat(location.lat), parseFloat(location.lng));
var annotation = new mapkit.MarkerAnnotation(coordinates, {
title: location.device,
subtitle: location.time ,
color: 'red'
});
map.addAnnotation(annotation);
};
In my opinion the performance should be at least the same ... Any comments ?