lib/ProMotion/map/map_screen_annotation.rb in ProMotion-map-0.1.0 vs lib/ProMotion/map/map_screen_annotation.rb in ProMotion-map-0.2.0
- old
+ new
@@ -15,10 +15,10 @@
def set_defaults
@params = {
title: "Title",
pin_color: MKPinAnnotationColorRed,
- identifier: "Annotation-#{@params[:pin_color] || @params[:image]}",
+ identifier: "Annotation-#{@params[:pin_color]}-#{@params[:image]}",
show_callout: true,
animates_drop: false
}.merge(@params)
end