-
-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marker features does not work under Android #64
Comments
Sorry, I did not have this clear. Android really does not have an implementation for OpenTK labels. This is a part that needs to be implemented per platform. https://github.com/pauldendulk/Mapsui/blob/master/Mapsui.Rendering.OpenTK-A/PlatformLabelBitmap.cs While iOS and desktop have: https://github.com/pauldendulk/Mapsui/blob/master/Mapsui.Rendering.OpenTK/PlatformLabelBitmap.cs Android labels is one of my priorities for the coming weeks. |
Unfortunately no marker is shown with or without label feature. It is always turn white square. |
If you download the code and open the solution there is a Android sample with bitmap symbols under de Samples folder called Mapsui.Samples.Android. This one: |
Works perfectly !!! |
Just compiled the android sample and tried just to add this row to the original code
mapControl.Map.Layers.Add( PointLayerSample.CreateRandomPointLayerWithLabel( new MemoryProvider( new Point( 10, 10 ) ) ) );
it result immediately on the run an "System.NotImplementedException: The method or operation is not implemented." in Mapsui.Rendering.OpenTK in PlatformLabelBitmap.cs
Probably it is an issue related to the libraries, please - note which libraries You are using into the samples for android. ( currently I am using the nuget version of MapsUI )
is there some specific source for OpenTK which i shall use for Android ?.
The text was updated successfully, but these errors were encountered: