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.
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.