Multiple overlay items in android

前端 未结 3 1073
野趣味
野趣味 2021-02-04 22:52

I seem to be having a problem with using ItemizedOverlay and OveralyItems in it.

I can get the first overlayItem to appear on the map but not any items after that.

3条回答
  •  梦如初夏
    2021-02-04 23:19

    I have working code that looks almost exactly like yours, except I do not call setLastFocusedIndex in my addOverlay function. Try commenting it out and see if it works.

提交回复
热议问题