Back to top

Map changes: Clustering

6 個の投稿 / 0の新しい投稿
最終投稿
WS Member ユーザー Warmshowers Administrator の写真
Map changes: Clustering

We made a minor change to how the map works this week. Now, when you're zoomed out to the point that it would be impractical to show all the markers, the map shows *clusters* of hosts. If you click on a cluster, you automatically zoom to see all the hosts in the location of the cluster. In addition, when there are two or more hosts at the exact same location, a red marker with the number of hosts is shown, instead of the simple red marker.

There were a few other minor improvements - we hope you like them.

Here's a visual explanation:

WS Member ユーザー WS Member の写真
pretty cool!

What else to say, visually super clear, nice work!

J

WS Member ユーザー WS Member の写真
new map markings

Looks good and clean!
My only concern is I can't find the scale/distance markings.
It's not super-critical, but sometimes seeing scale (like 1 inch = 20 miles) helps in route planning.
Is there a way to see the scales that I am not aware of?
Thanks

WS Member ユーザー @wsadmin@ の写真
Thanks - We'll try to figure

Thanks - We'll try to figure that out. Tracking this request at https://github.com/rfay/Warmshowers.org/issues/260

I think it must be a non-default feature in the Google Maps API v3.

-Randy

WS Member ユーザー @wsadmin@ の写真
Scale is added back in

The scale on the map has been added back in.

Thanks for noticing that!

-Randy

WS Member ユーザー WS Member の写真
Clustering

That is really nice. Colored coded and numbered. Thanks.