Skip navigation
We built a custom animatable, collision-aware, collapsible annotation system on Google Maps.
0:00 / 0:22

We built a custom animatable, collision-aware, collapsible annotation system on Google Maps.

Cyril Mottier

@cyrilmottier19K followers

Visit on X
1,156 likesDownloadOriginal post

125,299 views

We built a custom animatable, collision-aware, collapsible annotation system on Google Maps. Huge UX improvement but we lost tilt support along the way. We finally cracked the math and extended our projection calculations adding a whole new dimension to the map. Just gorgeous.

31 Comments

Comments from the original post on X (Twitter)

  • Magnus vS's profile picture

    @ProdCoder

    Super impressive. Is it "just" compose on top of google maps and then doing point toScreenLocation and lots of math? Would be fun to steal your ideas for @flightradar24 app!

    6 likes

  • Cyril Mottier's profile picture

    @cyrilmottier

    @flightradar24 Yes everything drawn on top of the map is powered by Compose

    6 likes

  • Danny Trinh's profile picture

    @dtrinh

    Tight!!

    3 likes

  • Jorge Castillo's profile picture

    @JorgeCastilloPr

    That’s so cool. VR vibes! Why some people rotate in circles?

    2 likes

  • Cyril Mottier's profile picture

    @cyrilmottier

    Thanks! Because they are currently listening to music 💿.

    3 likes

  • Jorge Castillo's profile picture

    @JorgeCastilloPr

    Ah! Nice. Wdyt about putting their faces into a little vinyl

  • Cyril Mottier's profile picture

    @cyrilmottier

    I think it was tested design-side but was introducing too much noise and breaking ratios/sizes of avatars. Went for animated notes instead. Friend annotations are super complex and feature tons of different states. We even have a dedicated sample app to help us deal with them.

    3 likes

  • Jorge Castillo's profile picture

    @JorgeCastilloPr

    Nice tool. Yeah I can see how it could add noise and make avatars too small inside or having to make the whole thing too big.

    1 like

  • Team Reagent's profile picture

    @Reagent_Systems

    AI can't replace you guys. That's beautiful to see working

    2 likes

  • Benoit Letondor's profile picture

    @BenoitLetondor

    Fantastic!

    1 like

  • Muhammad Ali Rauf's profile picture

    @mohdalirauf

    That's amazing !

    1 like

  • Jack Underwood's profile picture

    @JUnderwood_1

    Any chance of open sourcing it? We're about to tackle a similar issue and would love to contribute.

    1 like

  • Chris Klein's profile picture

    @cwkdotone

    I wish my Bump was filed with people. 🙃

    1 like

  • Nathan's profile picture

    @FullStackNate

    This is sick.

    1 like

  • Hintze's profile picture

    @Hintzeboy5

    Can I download the app on iOS?

    1 like

  • Cyril Mottier's profile picture

    @cyrilmottier

    Of course

    2 likes

  • Kavearhasi Viswanathan's profile picture

    @kavearhasi_v

    Super impressive ✨

    1 like

  • Mirco Morrone's profile picture

    @MircoMorrone

    Mate have you done similar things with Mapbox

  • Nostalgia's profile picture

    @nostalgrr

    Google hire this guy already.

  • infinity & beyond's profile picture

    @infiniyoung

    looks cool