#Google Maps new Advanced Markers API support

1 messages · Page 1 of 1 (latest)

warm ginkgo
#

I use the Maps Widget frequently for placing markers pulled from our database and used it capabilities to show colors based on the category of my place (e.g. Category A = Red; Category B = Blue)

But since this monday, looks like Google 'embracing' their newer Advanced Markers API, which makes Maps Widget super slooooooow and make it color customization option gone.

So, how to revert to the old API? or if we can't, is Appsmith gonna support the Advanced Markers API?

#

This is the look of the maps widget before the Advanced Markes API update. The markers are blue because it seeing value from our database

#

This is the code that i used to make that happen. Pulling those from database and works like a charm before

#

Now it looks like this. Losing the color capability and also make the app i made unresponsive as hell. When i change the query sometimes it not change with the map widget

#

not a problem for retrevieng single marker 'details' from database. but for large number markers is very annoying

warm ginkgo
warm ginkgo
#

I just realized it is changed after Appsmith 1.9.5. Creating my own docker instance and installing 1.9.4 fixed my issues and suits my needs.

orchid pathBOT
#

I'll check with the team on this and give you back some response

warm ginkgo
orchid pathBOT
warm ginkgo
orchid pathBOT
storm marlin
thorny iris
#

@warm ginkgo can you also please elaborate on the performance issues you are facing, Also check the above Deploy preview let us know if it solves the performance issues.

warm ginkgo
#

Wait, gonna setup the login first (as i use Google SSO for login)

#

Why i cant login into the deploy preview....

#

@storm marlin @thorny iris

thorny iris
#

I would request you to register on the deploy preview and then export your app and import it in the Deploy preview. Thanks

thorny iris
#

Can you please register using normal email and password.

warm ginkgo
thorny iris
#

and then you can use those credentials on the Deploy Preview.

warm ginkgo
warm ginkgo
#

ah, the 1.9.4 run slows on video because i forgot to disable the text widget below the table that showing properties of the maps widget. after removing that the site runs fine

storm marlin
#

Let me check the last point 🤔 it should have worked fine. Possible for you to share the app you created on the deploy preview? ( Share with [email protected] )

storm marlin
#

Can you send me the link too of the app?

storm marlin
#

one doubt, when we change location in the app, does the UI become unresponsive in production app too for you ? @warm ginkgo

#

i want to compare production and the deploy preview app.

storm marlin
#

I have removed the clusterer. That was only part we added in the refactor. When you get time, can you check if that improves it?

warm ginkgo
storm marlin
#

Yes. check you check the deploy preview once again and see if its fine now?

warm ginkgo
#

the circled markers = the ones that not on that filter

storm marlin
#

Hey, I have pushed a fix that is not showing those red marked markers in the image. You can check the dp in like 10 mins ( takes around 10 mins to build )

warm ginkgo
#

When i arrived at office i'll check

warm ginkgo
#

Tbh clustering is a good option. Maybe there will be a switch for enable/disable that feature?

storm marlin
#

Yes. We will bring it back with a toggle in property pane.

warm ginkgo
#

Okay will be waiting for the release! Thankyou!

#

But theres one request: map style switch (map/satellite/minimal) etc

warm ginkgo
#

@storm marlin just trying the latest preview on github, looks good! When will it be merged into release?

#

Kudos for making marker cluster optional, yes using this making the maps more heavier but a welcomed addition for those who used it 🙂

storm marlin
#

Hey, the PR is merged into our release branch. it will be available on master whenever next release promotion happens 😄

warm ginkgo