POST building a trail map for android using ionic and leaflet