Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Map #34

Open
Craccteam opened this issue Oct 27, 2017 · 2 comments
Open

Google Map #34

Craccteam opened this issue Oct 27, 2017 · 2 comments

Comments

@Craccteam
Copy link

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

@umwelt
Copy link

umwelt commented Jun 19, 2018

// 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)!`

@asger777
Copy link

asger777 commented May 12, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants