tanweijiu / osmbonuspack

Automatically exported from code.google.com/p/osmbonuspack
0 stars 0 forks source link

Kml display problem #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to load kml and open it with bonuspack from 
http://softopya.com/ikizler.kml
2. Maybe i m newbie in osmandroid, sorry about this. 
3.

What is the expected output? What do you see instead?
i used your whole example in tutorial 4
I wanted to display my kml file but i couldnt compile code because of this:

FolderOverlay kmlOverlay = 
(FolderOverlay)kmlDocument.mKmlRoot.buildOverlays(this, map, null, null, 
kmlDocument);

Error: The method buildOverlays(MainActivity, MapView, null, null, KmlDocument) 
is undefined for the type 
 KmlFolder

What version of the products are you using (Android SDK, osmdroid,
OSMBonusPack)?

Android sdk 4, asmdroid version 4.2, bonuspack version latest

Please provide any additional information below.

Original issue reported on code.google.com by gokhango...@gmail.com on 16 Jun 2014 at 1:46

Attachments:

GoogleCodeExporter commented 9 years ago
OK, there is a typo in the Tutorial page: the method is buildOverlay, not 
buildOverlays. 

I fix the Tutorial page. 

Original comment by mathieu....@gmail.com on 16 Jun 2014 at 8:41