Ir al contenido principal

Entradas

Mostrando entradas de noviembre, 2019

How a feature collection of points should looks like

¿How a feature collection of points should looks like?

Do not forget, this is a JSON notation.

{
    "type": "FeatureCollection",
    "features": [{
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [-105.02, 39.61]
        },
        "properties": {
            "prop0": "value0"
        }
    }]
};

For example the small code above can be added to a Leaflet library to see how this run. intelimapa.com is using this approach for feeding its clients maps.