The Ultimate Site of Worms Armageddon

All About TUS => TUS Discussion => Topic started by: zippeurfou on July 17, 2012, 09:22 AM

Title: location detail ?
Post by: zippeurfou on July 17, 2012, 09:22 AM
I was thinking this morning that there used to be a french league where you had a map of France and you could see in which city is everyone in France.
I think it could be cool to be able to have a world map and to know in what city we all live. It could help to arrange meeting and stuff like that.
**Imagine you want to do a clan meeting could be cool to quickly know where exactly the most member live**
Or some other stats as the city where the most people play worms or the best skilled city overall...
I might be stat addict but I think that adding an user information non mandatory in the profile is not a very big deal and then you can display it on a map easily.
Title: Re: location detail ?
Post by: Husk on July 17, 2012, 09:38 AM
this would also be very educational. sometimes I see a weird country name like usa (does any1 actually live there?), and with such feature I could probably find it in a world map.
Title: Re: location detail ?
Post by: MonkeyIsland on July 17, 2012, 10:11 AM
Do you know any map/flash-based thingy where we could specify/mark our members on?
Title: Re: location detail ?
Post by: HHC on July 17, 2012, 10:32 AM
http://www.zeemaps.com/

> Make a new map > put 'General' as type and put an admin pw. Then people can add their location by 'Add marker', which allows them to enter a Name and Location (City, Country; that is all that is needed).
Title: Re: location detail ?
Post by: Sbaffo on July 17, 2012, 11:14 AM
Quote from: HHC on July 17, 2012, 10:32 AM
http://www.zeemaps.com/

> Make a new map > put 'General' as type and put an admin pw. Then people can add their location by 'Add marker', which allows them to enter a Name and Location (City, Country; that is all that is needed).

aaaa i wanted link it :<
Title: Re: location detail ?
Post by: zippeurfou on July 17, 2012, 11:43 AM
Or you can use google map and use the api :) https://developers.google.com/maps/documentation/ . It's not really hard to use it.
Here is an example.


// cinema Pathé Bellecour
var myLatlng = new google.maps.LatLng(45.758796,4.834607);

// Map of the cinema
var myMapOptions = {
zoom: 16,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};

// Map creation
var myMap = new google.maps.Map(
document.getElementById('map'),
myMapOptions
);

// icon creation
var myMarkerImage = new google.maps.MarkerImage('img/pathe.png');

// marker creation (this is a basic one but for tus it could be custom).
var myMarker = new google.maps.Marker({
// cinema place
position: myLatlng,
map: myMap,
// custom icon
icon: myMarkerImage,
title: "Cinema Pathé Bellecour"
});

// window option
var myWindowOptions = {
content:
'<h6>Cinema Pathé Bellecour</h6>'+
'<p><a href="http://www.cinemasgaumontpathe.com/cinemas/cinema-pathe-lyon-bellecour/" title="Site officiel">Visiter le site officiel</a></p>'
};

// window creation
var myInfoWindow = new google.maps.InfoWindow(myWindowOptions);

// show window when you click the marker
google.maps.event.addListener(myMarker, 'click', function() {
myInfoWindow.open(myMap,myMarker);
});



Well this example is not to teach you anything (i am sure you are quite capable of programming ^^). It is to show you how simple it is to use the google map api :).
Then you can use it as a heat map (http://googlemapsmania.blogspot.fr/2009/03/using-google-maps-to-produce-heat-maps.html) or geomap (https://developers.google.com/chart/interactive/docs/gallery/geomap)  or else :)
Title: Re: location detail ?
Post by: HHC on July 17, 2012, 11:52 AM
Yeah i reckon it's easier if MI codes it, so the location in the profile gets shown on the map.
Title: Re: location detail ?
Post by: Casso on July 17, 2012, 12:08 PM
on worms mania we use it: http://www.wormsmania.net/utenti.htm
Title: Re: location detail ?
Post by: Peja on July 17, 2012, 12:18 PM
rofl theres a guy called komodo in rome ;D
Title: Re: location detail ?
Post by: MonkeyIsland on July 17, 2012, 12:21 PM
Isn't that so crowded?
Title: Re: location detail ?
Post by: zippeurfou on July 17, 2012, 12:29 PM
Quote from: MonkeyIsland on July 17, 2012, 12:21 PM
Isn't that so crowded?
I agree but there are lot of solution for that :)
https://developers.google.com/maps/articles/toomanymarkers
an example http://gmaps-samples-v3.googlecode.com/svn/trunk/toomanymarkers/toomanymarkers.html
Title: Re: location detail ?
Post by: TheKomodo on July 17, 2012, 01:16 PM
Quote from: Peja on July 17, 2012, 12:18 PM
rofl theres a guy called komodo in rome ;D
He plays WA?! lol

Isn't that the Eurotrance producer guy?
Title: Re: location detail ?
Post by: Casso on July 17, 2012, 01:23 PM
We usually call him Komo xD
His real name is Daniele
Title: Re: location detail ?
Post by: TheKomodo on July 18, 2012, 07:01 AM
Ah wait a minute is that the guy that was in WM or something? used to come online with xWMxKomodo or something?

Title: Re: location detail ?
Post by: Casso on July 18, 2012, 11:15 AM
Quote from: LalosDich on July 18, 2012, 07:01 AM
Ah wait a minute is that the guy that was in WM or something? used to come online with xWMxKomodo or something?

Yes, he is from Worms Mania Community
Title: Re: location detail ?
Post by: zippeurfou on July 24, 2012, 07:34 AM
Another thing that could be done with the location detail is the gmt adjustment.
Let me explain:
For example, when you are in russia you got lot of different gmt time depending where you are in russia. With this, you can know what gmt you are and so change the "shoutbox" and forum (and more ?) posting date according to your gmt :).
Title: Re: location detail ?
Post by: Abnaxus on July 24, 2012, 01:35 PM
Was it WaC or WLC ?

I remember that map, but can't remember from which clan/league.
Title: Re: location detail ?
Post by: Wojtes on August 07, 2012, 09:36 PM
I'm currently living in ?Chernobyle