Pulsator icon indicating copy to clipboard operation
Pulsator copied to clipboard

Google Map

Open Craccteam opened this issue 6 years ago • 2 comments

I have try many way to add to marker googlemap but unsucessfully.

Craccteam avatar Oct 27 '17 14:10 Craccteam

// provide image to your marker
`       marker.iconView = UIImageView(image: #imageLiteral(resourceName: "tracker"))

//  I'd choose to insert above, but below will work too, depends on your UI
        marker.iconView?.layer.insertSublayer(pulsator, above: marker.iconView?.layer)
       
// this is actually what matches marker position 
        pulsator.position = (marker.iconView?.layer.position)!`

umwelt avatar Jun 19 '18 07:06 umwelt

// provide image to your marker
`       marker.iconView = UIImageView(image: #imageLiteral(resourceName: "tracker"))

//  I'd choose to insert above, but below will work too, depends on your UI
        marker.iconView?.layer.insertSublayer(pulsator, above: marker.iconView?.layer)
       
// this is actually what matches marker position 
        pulsator.position = (marker.iconView?.layer.position)!`

hi after 2years i have this error on my project. i have did what you said on your code, but its not working. I have added pulsator to marker but its pulse animation can not go out of the marker icon(i have set clipToBounds of uiimageView to false).

Here is Images: https://prnt.sc/sfeunt https://prnt.sc/sfevbg

asger777 avatar May 12 '20 14:05 asger777