Hello there,
I'm trying to load multiple kml layers to my map. But having problem, that all of the layers contains same icon.
I try to use,
public KmlUrlReader(java.lang.String kmlUrl,
int maxElements,
boolean needsUpdateAfterRead,
java.lang.String defaultIcon);
method. But after specifying string at "defaultIcon" with my drawable icon i can't see any icons over my map.
I have also tried to load online url from google but thats also wont work.
Please help.
Here is example:
When we set Location determined by mobile networks in android settings and use nutiteq api for location, mapComponent will show GPS location determined by mobile networks, which is great. But is it possible to get radius where the phone can be from current location determined by mobile networks. So we can draw fancy circle like on android maps.
How do I implement a custom placemark icon? I have tried specifying a full URL in the KML, as well as using using the defaultIcon constructor argument (as a root URL and a full URL) to KmlUrlReader, none works. I get:
01-03 15:45:53.894: E/Map_Canvas(7351): Error in task runner: null
01-03 15:45:53.910: W/Map_Canvas(7351): java.lang.NullPointerException
01-03 15:45:53.910: W/Map_Canvas(7351): at com.nutiteq.wrappers.Image.getWidth(Unknown Source)
01-03 15:45:53.910: W/Map_Canvas(7351): at com.nutiteq.components.PlaceIcon.(Unknown Source)