Pin does not appear on the ma running in Windows
Describe the bug
I am working with net 8 I have the following code:
mapa.MoveToRegion(MapSpan.FromCenterAndRadius(new Location(41.21301, 1.73250), Distance.FromMiles(0.5))); string cadenaSituacion = "41º 12.8 N' 001º 43.9' E"; var pin = new Pin { Label = cadenaSituacion, Address = cadenaSituacion, Type = PinType.Place, Location = new Location(41.21301, 1.73250) }; mapa.Pins.Add(pin);
Running the app on Mac the pin is displayed correctly, but on Windows it is not,for it to be displayed in Windows I have to change:
string cadenaSituacion = "41º 12.8' N 001º 43.9' E"
for :
string cadenaSituacion = "41º 12.8 N 001º 43.9 E"
Regression
No response
Steps to reproduce
Create a map.
Add a pin with a single quote in Label and Address
Expected behavior
The pin should be shown on the map as when running on Mac
Screenshots
No response
IDE and version
VS 2022
IDE version
17.6.8 (build 400)
Nuget packages
- [ ] CommunityToolkit.Common
- [ ] CommunityToolkit.Diagnostics
- [ ] CommunityToolkit.HighPerformance
- [ ] CommunityToolkit.Mvvm (aka MVVM Toolkit)
Nuget package version(s)
CommunityToolkit.Maui.Maps 2.0.0
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item