googlemaps / extended-component-library

A set of Web Components from Google Maps Platform
https://configure.mapsplatform.google/
Apache License 2.0
107 stars 9 forks source link

@googlemaps/markerclusterer use Lit-HTML #24

Open busynest opened 1 year ago

busynest commented 1 year ago

create webcomponents using Lit-HTML for https://www.npmjs.com/package/@googlemaps/markerclusterer

wangela commented 1 year ago

If you would like to upvote the priority of this issue, please comment below or react with :+1: so we can see what is popular when we triage.

@busynest Thank you for opening this issue. 🙏 Please check out these other resources that might help you get to a resolution in the meantime:

This is an automated message, feel free to ignore.

busynest commented 1 year ago

let's make it priority. Finally maps work as webcomponents, and this tool seems to be needed by a noob like me.

awmack commented 1 year ago

Thanks for the comment! Any additional information you can give us about your use case? E.g. the framework you're using (if any), any pain points of using the existing library, or a specific piece of pseudocode that includes marker clustering?

busynest commented 1 year ago

I use Lit-Element with Redux, and Redux-Thunk. My bundler was Polymer Build Function, but will be webpack or rollup. I have search results that result as a map marker. once the website goes big, it will be super important to group markers for accessability. The functions I have so far are: Get Markers, Create Marker, Delete Marker. will need to solve Group Markers.

busynest commented 1 year ago

I also noticed that infoWindow take a string as a template. That's weak, because it's like a big RegEx.

busynest commented 1 year ago

The feature would be successful if we could scale to 1 billion active markers that can auto uncluster when zoom.