webcams.travel

ÜCRETSİZ PREMIUM
Verified
Taraf webcams.travel | Güncelleyen a year ago | Travel
Popülerlik

9.9 / 10

Gecikme

514ms

Hizmet Düzeyi

100%

Tüm Tartışmalara Dön

Clustering

V
victorpantoja
6 years ago

Hey guys

I’ve been making some tests with clustered endpoint and I was wondering how you calculate it.

/webcams/map/{ne_lat},{ne_lng},{sw_lat},{sw_lng},{zoom}

How to you calculate number of clusters per zoom level?

Thanks!

V
victorpantoja commented 6 years ago

Many thanks, Ingo!

Regards,
Victor

avatar
webcams.travel commented 6 years ago

Hi Victor

We transform the geographical coordinates into the pixel space of the map at the given zoom level. With this we create the clusters in a way that they don’t overlap. Each cluster is represented by the most popular webcam in that cluster.

Regards
Ingo

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun
Değerlendirme: 5 - Oy Sayısı: 1