numero2 / contao-storelocator

Contao Plugin for managing stores (or in common address data) and providing a frontend-search based on geo data.
https://www.numero2.de/contao/erweiterungen/storelocator.html
GNU Lesser General Public License v3.0
13 stars 8 forks source link

Add markerclusterer #41

Closed stefansl closed 3 years ago

stefansl commented 3 years ago

This is a basic draft for markerclusterer based on https://developers.google.com/maps/documentation/javascript/marker-clustering#maps_marker_clustering-javascript as mentioned here #27

What do you think?

bennyborn commented 3 years ago

Just tested it, seems to work fine 👍

Are you planning any further changes? Otherwise I would merge this request and provide the missing translations for the checkbox in tl_module.

stefansl commented 3 years ago

Maybe this PR is a little bit messed up. I guess i did not merge your last commits. So maybe I should clean it. What do you think?

bennyborn commented 3 years ago

I've noticed there are quite some changes included that I already did a week ago. If you'd like to polish it up a little go for it :)

stefansl commented 3 years ago

I want to check the markerclusterplus package https://github.com/googlemaps/js-markerclustererplus

So I have to install it via npm. Is it ok to place the package.json right next to composer.json and compile it into src/public?

bennyborn commented 3 years ago

That's absolutely fine!