How to add Label ( ex: 1,2,3..) to marker icon in mapbox in android - mapbox-android

How to add label into mapbox marker icon (not the infoWindow) in android studio.
here is the Example of the marker

You need to use Mapbox IconGenerator.
See how to use it in :
mapbox-gl issue
And see this sample :
Mapbox Android Utils

Related

How to remove search icon in SearchBar for android and ios in nativescript angular?

I am developing android and ios application using nativescript angular. I want to remove the search icon inside SearchBar for both android and ios platform.In android I have done something like this:
searchBarLoaded(event)
{
let searchbar=<SearchBar>event.object;
var androidSearchBar=searchbar.nativeView;
let searchIcon androidSearchBar.findViewById(android.support.v7.appcompat.R.id.search_button);
searchIcon.android.setVisibility(android.View.GONE);
}
But it was not worked.Can you help me how to remove the search icon inside searchbar?

Is there any teritory chart control available on xamarin forms / xamarin android

We are trying to present territory map view with different controls in android and iOS platform using xamarin.forms or Xamarin Native. Is there any map control avaialble to present territory map view in xamarin forms?
It looks like Syncfusion has something similar to what you want in their Maps

Xamarin Forms: ToolBarItem on left for both iOS and Android

I'm trying to find a way to put a close ToolBarItem on the left of my ToolBar.
To be more explicit, here are some screenshots:
For Android:
For iOS:
The problem is not about to display icon istead of text, I'm using Iconize for that. The problem is about to put ToolBarItem to the left for both iOS and Android.
I've found this renderer for iOS (not tried yet):
https://gist.github.com/alexlau811/f1fff9e726333e6b4a2f
You need to write Custom renderer to implement left side tool bar items. Detailed implementation for this is explained here https://timeyoutake.it/2016/01/02/creating-a-left-toolbaritem-in-xamarin-forms/

Skia view element in xamarin.forms

I'm trying to draw new elements/images via the new skiasharp library for xamarin forms.
I got the samples working but they only change the full content page with the new canvas.
So my question would be how to implement a single view which can be placed in any place in another content page. Does anyone have experiences with skia?
How do I choose the canvas? Do I have to overwrite an existing Image or similar?
Thanks for you help.
Sure, and there is a view which you are looking for: SkiaView.
It inherited from Xamarin.Forms.View and contains some properties such as HeightRequest or Scale.
I suppose you are interested in these classes:
SkiaView
ISkiaViewController
iOS - SkiaViewRenderer
iOS - NativeSkiaView
Android - SkiaViewRenderer
Android - NativeSkiaView
EDIT:
Finally there is a NuGet package with Xamarin.Forms support: SkiaSharp.Views.Forms 1.54.1-beta1. Samples are available in SkiaSharp repository.

Workaround scrollview zoom for android #appcelerator

Hi I am building a magazine viewer and I need to zoom and drag the content pages. I am using scrollview but I guess the zoom works only for ios. Is there any workaround for this? I am using Titanium 5 sdk, and don't found modules that support it.
On Android you might be able to use http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ImageView-property-enableZoomControls

Resources