| Issue 146: | Markers not getting displayed for customized own url | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi,
I'm new to Mixare customization. I have been successfully able to
compile and load the apk file to my phone. I customized the own url to
fetch json from my php webservice. While debugging, I can see the
markers are getting initialized with the json data and a message too
"received data from own url" but unable to see the markers getting
displayed
This is my json
{
"status":"OK",
"num_results":4,
"results":[
{
"id":"1",
"lat":"13.0089932161",
"lng":"80.0000000000",
"elevation":"0",
"title":"RoomA",
"has_detail_page":"0",
"webpage":""
},
{
"id":"2",
"lat":"12.9999998371",
"lng":"80.0092297746",
"elevation":"0",
"title":"Room-B",
"has_detail_page":"1",
"webpage":"http%3A%2F%2Fwww.google.com"
},
{
"id":"3",
"lat":"12.9910067839",
"lng":"80.0000000000",
"elevation":"0",
"title":"RoomC",
"has_detail_page":"1",
"webpage":"http%3A%2F%2Fwww.yahoo.com"
},
{
"id":"4",
"lat":"12.9999998371",
"lng":"79.9907702254",
"elevation":"0",
"title":"Room-D",
"has_detail_page":"0",
"webpage":""
}
]
}
The "geo-location" mock data is stored in a MySQL table. The content-
type is text/plain. I have also tried application/json.
Please help me out.
Thanks,
-Gnansu
Jan 12, 2013
Project Member
#1
klemens....@gmail.com
Feb 4, 2013
It is possible that youve already started the app and it copied the url-data into the shared preferences. So it will not recognize your new urls. remove the app completly from your smartphone and try again. |