-
Notifications
You must be signed in to change notification settings - Fork 119
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
How to Add custom marker ? #901
Comments
You can generate views, then translate it in Bitmap and add it as Symbol. |
What @ben-j69 mentioned should be the correct solution for runtime-generated images. You can add the image to the map with |
I came across same question,Could you give me some samples? |
Do you need custom icon in marker place or custom view in info window? |
list.add(new SymbolOptions()
.withLatLng(new LatLng(60.169432, 24.939876))
.withIconImage(MAKI_ICON_CAFE)
.withIconSize(2.0f)
.withDraggable(true)) ;
list.add(new SymbolOptions()
.withLatLng(new LatLng(60.169530, 24.939876))
.withIconImage(MAKI_ICON_AIRPORT)
.withIconSize(2.0f)
.withDraggable(true));
// Add symbol at specified lat/lon
symbolManager.create(list);
in fact I want to real time to create bitmap that can be input into the list. I really don't understandt how to replace icon Image, thanks
…------------------ 原始邮件 ------------------
发件人: "Morteza Hosseini"<[email protected]>;
发送时间: 2019年12月17日(星期二) 晚上8:15
收件人: "mapbox/mapbox-plugins-android"<[email protected]>;
抄送: "冰冻三尺"<[email protected]>;"Comment"<[email protected]>;
主题: Re: [mapbox/mapbox-plugins-android] How to Add custom marker ? (#901)
Do you need custom icon in marker place or custom view in info window?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If i want custom marker ( All different !!!)
Before i Ref : https://stackoverflow.com/questions/34586876/how-can-i-create-a-speech-bubble-border-for-a-google-marker-custom-icon-using-pi
i use Picasso & Glide do it
Outer frame Ref : https://pse.is/GMUCR
now ?
THX
The text was updated successfully, but these errors were encountered: