Page 1 of 1

Adding markers to a map component from a Web-service response having collection object.

Posted: Tue Oct 01, 2013 12:07 pm
by vigil aj

The xml response has a collection of latitude and longitude, in the following format.
I need to add markers to these mentioned lattitudes-longitudes on to the map component.
pre
<Main>
<Sub1>
<Sub1a>
<latitude>71&#46;25<&#47;latitude>
<longitude><14&#46;25<&#47;longitude>
<&#47;Sub1a>
<Sub1b>
<latitude>7&#46;32<&#47;latitude>
<longitude><78&#46;2<&#47;longitude>
<&#47;Sub1b>
<&#47;Sub1>

<Sub2>
<Sub2a>
<latitude>75&#46;23<&#47;latitude>
<longitude>2&#46;33<&#47;longitude>
<&#47;Sub2a>
<Sub2b>
<latitude>82&#46;3<&#47;latitude>
<longitude><55&#46;22<&#47;longitude>
<&#47;Sub2b>
<&#47;Sub2>

<Sub3>
<Sub3a>
<latitude>71&#46;25<&#47;latitude>
<longitude><14&#46;25<&#47;longitude>
<&#47;Sub3a>
<&#47;Sub>3
<&#47;Main>
/pre


Adding markers to a map component from a Web-service response having collection object.

Posted: Tue Oct 01, 2013 1:33 pm
by Kateryna Grynko

Hi,

First, get data from your service: http://docs.appery.io/documentation/r...
Then, add markers from its Response: http://docs.appery.io/tutorials/build...