I'm struggling with pushpins not showing on devices with rounded corners, the home indicator (iPhone 12 Pro Max for instance). Every other devices including iPads are displaying my pushpins (truck/flag...). See by yourself below The map is centered on them.
This is driving me crazy.
pseudo code:
// Vehicles
vehiclelayer = new Microsoft.Maps.Layer();
vehiclelayer.setZIndex(3);
this.map.layers.insert(vehiclelayer);
...
var pushpin;
var pushpinOptions;
pushpinOptions = {
icon: imageBase64,
title: label,
visible: true,
anchor: anchor,
};
var location = new Microsoft.Maps.Location(latitude, longitude);
pushpin = new Microsoft.Maps.Pushpin(location, pushpinOptions);
vehiclelayer.add(pushpin, index);
The results:
iPad
iPhone 12 Pro Max
What could be the root cause of this problem?
EDIT I've been able to reproduce the problem with a simple Xcode project taking the pushpin sample from the SDK test website.
https://github.com/omatrot/wkwebview/tree/main/wkwebview
question from:
https://stackoverflow.com/questions/65898073/pushpins-not-visible-on-ios-devices-with-rounded-corners-the-home-indicator 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…