# Maps

# GeoJSON format

GeoGuess use GeoJSON format to specify maps where you are playing.

In FeatureCollection, you ara allowed to add :

  • Feature<Point>
  • Feature<Polygon>
  • Feature<MultiPolygon>

# Round Details

A feature, could have properties inforamtions, with title, description and link.

{"type":"FeatureCollection","features":[
    {
    "type":"Feature",
        "geometry":...,
        "properties":{
            "title": string | object,
            "description": string | object,
            "link": string,
        }
    }
]}
interface object {
    [language string]: string
}

# Examples

{
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [2.0104348, 42.4411844]
        },
        "properties": {
            "title": "Sainte-Léocadie",
            "description": {
                "fr": "un ville",
                "en": "a city"
            },
            "link": "http://www.sainte-leocadie.fr/"
        }
    }]
}

# Maps list

You can add your custom maps to the homepage in the JSON file on the Github Maps Repo.

    {
        "name": string | object,
        "description": string | object,
        "author":  string,
        "imageUrl": urlString (width = 500 & heigth = 230),
        "url": urlGeoJSON
    }