android


getfeatures of kml layer


I really need help here! i'm working with google maps API for android.
I want to get all the features of my layer, to get all their properties. I used the below code, in the asynch funcion of KML demo :
Iterable<'?' extends Feature> multimap= kmlLayer.getFeatures();
for(Feature s: multimap){
Log.w("display", s.getProperty("name"));
}
but it doesn't work! not even the log has been displayed!
I tried that :
Log.w("display", kmlLayer.getFeatures().toString();
I got: [] which means getfeatures is empty! any suggestions! pleaaase!
PS :
declaration of getfeatures:
public Iterable<? extends Feature> getFeatures(){
return mRenderer.getFeatures();
}
declaration of getFeatures in the Renderer Class:
public Set<Feature> getFeatures() {
return mFeatures.keySet();
}

Related Links

SQLite, android. Am i doing something wrong on Table definition?
draw Method for Spannable String doesn't get called on Marshmallow
SharedPreferences with encryption decryption (2 SharedPreferences file)
Changing messenger notification sound from my application
change https proxy settings of android studio
Firebase Database crashes Android app
Firebase orderByChild(1) and filter by child two any solutions? [duplicate]
My app stops installing since i added play services library
Spinner down arrow disappears below view background
Why app is not crashing on 6.0 (API23) platform for deprecated getResources().getColor() without support library?
How do I replicate a website's JSON Request in my Android App
Finding a point along a geodesic polyline in android maps api
Galaxy S6 GPS sample delayed after phone idle for extended period
Record texture any frame in video file
java.lang.IllegalStateException: Fragment already added:
Wordpress REST API link and first image from videos from YT

Categories

HOME
grok
fabricjs
oracle12c
hessian
alarm
rom
python-multithreading
azure-container-service
okhttp
mql5
32bit-64bit
text-mining
radgridview
pybossa
symfony-console
asp.net-core-webapi
simpleitk
rubymotion
babel
imagemap
inno-download-plugin
string-concatenation
google-api-client
siri
moses
fat
firebase-analytics
android-things
tizen-tv
vex
google-cast
postback
sql-delete
google-earth-engine
projects-and-solutions
linq-to-objects
phpdbg
jide
facebook-pixel
posixct
magic-draw
context-switch
video-conferencing
azure-cli
dt
java-websocket
baidu
winusb
segment-io
google-cloud-console
file-uri
signalr.client
udpclient
swizzling
jtwig
nss
html-to-pdf
findfirst
httpruntime.cache
google-books
sha512
skspritenode
apache-commons-daemon
alloy-ui
fail2ban
nodelist
iso-prolog
appserver
paw
universal-image-loader
angular-carousel
grails-plugin-rabbitmq
wxformbuilder
dot42
koala
qscrollarea
openargs
high-resolution
hibernate-entitymanager
workitem
swfobject
twisted.web
web-notifications
cakephp-1.2
thttpd
appjs
predicatebuilder
stress
user-tracking
listactivity
lr
rmdir
folding
opml
java1.4

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile