Giter VIP home page Giter VIP logo

Comments (6)

Ziqi-Li avatar Ziqi-Li commented on May 20, 2024

If you put your Pulsator codes in viewWillAppear, it will work. I tried viewDidLoad and it won't work on Google Maps.
I know it is a bit of weird and I will leave other people comment on this.

from pulsator.

p01harrycobl avatar p01harrycobl commented on May 20, 2024

Still not working Mr. Ziki Li....
First I tried this,

override func viewWillAppear(_ animated: Bool) {

    let pulsator = Pulsator()
    pulsator.radius = 240.0
    pulsator.backgroundColor = UIColor.blue.cgColor
    myMarker.layer.addSublayer(pulsator)
}

Still didn't work... Then I tried this

override func viewWillAppear(_ animated: Bool) {
    
    // Creates a marker in the center of the map.
    myMarker.position = CLLocationCoordinate2D(latitude: myLocation.coordinate.latitude, longitude: myLocation.coordinate.longitude)
    myMarker.title = "MyLocation"
    myMarker.panoramaView = panoramaView
    myMarker.icon = GMSMarker.markerImage(with: .blue)

    let pulsator = Pulsator()
    pulsator.radius = 240.0
    pulsator.backgroundColor = UIColor.blue.cgColor
    myMarker.layer.addSublayer(pulsator)

    myMarker.map = mapView
}

But still no luck... Any more suggestion? Thanks in advance...

from pulsator.

sujewan avatar sujewan commented on May 20, 2024

@Ziqi-Li Still I also facing a same issue. Please provide the solution

from pulsator.

guru-teja avatar guru-teja commented on May 20, 2024

Has anyone found a way to add pulsator to google maps?

from pulsator.

volodymyrslipak avatar volodymyrslipak commented on May 20, 2024

Anyone found a way to add pulsator to google maps?
need add pulsator to marker

from pulsator.

umwelt avatar umwelt commented on May 20, 2024

I did add a pulsator to gmaps
#34 (comment)

from pulsator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.