webcams.travel

FREEMIUM
Verified
Por webcams.travel | Atualizado un anno fa | Travel
Popularidade

9.9 / 10

Latência

518ms

Nível de serviço

100%

Voltar para todas as discussões

Clustering

V
victorpantoja
6 anni fa

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 anni fa

Many thanks, Ingo!

Regards,
Victor

avatar
webcams.travel commented 6 anni fa

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

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários
Avaliação: 5 - Votos: 1