Locus Map - forum

Development => Developers => Topic started by: berkley on January 10, 2016, 08:57:18

Title: wpt.setName(String) not working
Post by: berkley on January 10, 2016, 08:57:18
Hi ;)

Just playing around with the API, I noticed that adding something like
wpt.setName("My POI is now called something else");
to that line doesn't update the name of POIs in Locus DB. 
https://bitbucket.org/asamm/locus-api-android-sample/src/1fad202e6166239b6e424f03bac79f0000f8eb6d/src/main/java/menion/android/locus/api/sample/MainActivity.java?at=default&fileviewer=file-view-default#MainActivity.java-241
Temporary Points like the random ones that come with the sample do get the update.

In addition updating the description like it is done in the sample seems to only update the description, if there has been a description before. It doesn't create a new one.
Location works nice.

Well, just playing. Nothing serious.
Although I'm curious, if it's an error or misunderstanding on my side.

Cheers  :)