geoJson array in bettermap

Hi,

I'm trying to draw some locations with bettermap but I can't figure out the
structure required for a geoJson array. Currently I have a field called
location with the following structure (a simple array):

[-46.752551,-23.286951]

I've tried something like:

[{"Long":value1, "Lat":value2}]

but not success yet. Any idea?

Regards,
Iván.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1a67ff9c-d711-4f49-a799-4ded18c206b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Field should be marked as a geopoint and should use GeoJSON array format.
See: http://www.elasticsearch.org/guide/en/kibana/current/_bettermap.html

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 15 juin 2014 à 20:23, Iván Fernández Perea ivan.fernandez.perea@gmail.com a écrit :

Hi,

I'm trying to draw some locations with bettermap but I can't figure out the structure required for a geoJson array. Currently I have a field called location with the following structure (a simple array):

[-46.752551,-23.286951]

I've tried something like:

[{"Long":value1, "Lat":value2}]

but not success yet. Any idea?

Regards,
Iván.

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1a67ff9c-d711-4f49-a799-4ded18c206b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6A11ED75-BB3D-4C24-9622-3CA606E6079A%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.