extended-component-library icon indicating copy to clipboard operation
extended-component-library copied to clipboard

@googlemaps/markerclusterer use Lit-HTML

Open busynest opened this issue 2 years ago • 6 comments

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

busynest avatar May 15 '23 22:05 busynest

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.

wangela avatar May 15 '23 22:05 wangela

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

busynest avatar May 15 '23 22:05 busynest

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?

awmack avatar May 16 '23 19:05 awmack

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 avatar May 16 '23 23:05 busynest

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

busynest avatar May 16 '23 23:05 busynest

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

busynest avatar May 16 '23 23:05 busynest