TradeMe / MapMe

The Android maps adapter
MIT License
841 stars 75 forks source link

Removes map type information from MapAnnotation #2

Closed josh-burton closed 7 years ago

josh-burton commented 7 years ago

Removing the type from MapAnnotation greatly simplifies the API. The type was something the user didn’t need to know about, so isn’t required in the API.

Removing it means we have to do a cast when interacting with the map in the annotation factory, but the annotation factory is typed so this is pretty safe.