-
Notifications
You must be signed in to change notification settings - Fork 1.3k
MapActivity in SDK #2616
Comments
So the idea is that for a quick map activity one just uses our |
Been working on this in 2ad5e3d |
Discovered we also need a |
Picking this up again |
@bleege @zugaldia: MapActivity itself and implemented examples in InfoWindowActivity and VisibleCoordinateBoundsActivity |
Another possibility is to follow Google's approach to The idea is not just having a base class but also a
|
@tobrun @zugaldia The more I think about this, the more I'm not sure that I'm thinking that Google's approach in the Google Maps API is the one we should follow. Specifically, the core class is |
Closing this down for now, will create a separate issue for introducing MapboxMap. |
Acknowledged by both @bleege and @ljbade that this would be a nice addition to the SDK.
Current setup requires overriding multiple lifecycle methods of Activity.
In the past I forgot to add one or I had overridden the wrong one.. imo this setup is error prone.
Besides that I would also simplify the code in the test application, which makes it easier to understand,
Proposition:
The text was updated successfully, but these errors were encountered: