# Maps

# GeoJSON format

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

In FeatureCollection, you can add (only):

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

# Round Details

A feature could have properties: 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": "une 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
    }