Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

InfoWindow customization in Android #2362

Closed
erf opened this issue Sep 18, 2015 · 5 comments
Closed

InfoWindow customization in Android #2362

erf opened this issue Sep 18, 2015 · 5 comments
Labels
Android Mapbox Maps SDK for Android feature

Comments

@erf
Copy link
Contributor

erf commented Sep 18, 2015

Is there a way to customize the info window?

Should there be a onMarkerClick event so you could add your own popup?

I'm on the 'release-android-v0.1.0' branch

@ljbade ljbade added feature Android Mapbox Maps SDK for Android labels Sep 21, 2015
@ljbade ljbade added this to the android-v0.2.0 milestone Sep 21, 2015
@ljbade
Copy link
Contributor

ljbade commented Sep 21, 2015

I think this is planned.

@bleege Is that right?

@bleege
Copy link
Contributor

bleege commented Sep 21, 2015

Yep, our long term goal is to mirror the Raster SDK support for this. So far what we've already baked in can be found in the TestApp.

@tobrun
Copy link
Member

tobrun commented Sep 22, 2015

I like the builder pattern on MarkerOptions, we could improve to allow setting the content programatically.
Eg. AlertDialog creates a dialog with title/message, but also allows to set the content through setView().
I also like the idea of adapter support for Markers but maybe this is going a bridge too far.

This was referenced Sep 28, 2015
@tobrun
Copy link
Member

tobrun commented Sep 29, 2015

I have been looking at Google Maps and see how they are implementing this.

For parity I created:
-#2450
-#2447
-#2448
-#2451

@erf if #2451 lands you will have the ability to customise InfoWindow views

@bleege bleege modified the milestones: android-v2.1.0, android-v2.2.0 Oct 2, 2015
@ljbade
Copy link
Contributor

ljbade commented Oct 28, 2015

#2451 landed

@ljbade ljbade closed this as completed Oct 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android feature
Projects
None yet
Development

No branches or pull requests

4 participants