Is there anyway to get the feature source from the default background layer?
If so am I going to be able to pull out a street name from that feature source/background layer?
Any help would be greatly appreciated.
Is there anyway to get the feature source from the default background layer?
If so am I going to be able to pull out a street name from that feature source/background layer?
Any help would be greatly appreciated.
Hello Josh,
Thanks for your post.
What do you mean the default background layer? Is WorldMapKit? Or some other layer that you have create it in the program?
If it’s the layer you created, yes you can get the feature source and get all the street name, you can check the HowDoISamples —> Labeling —> Label Nice Looking Road.
Regards,
Gary
From the WorldMapKit.
Basically what I am trying to do is figure out what street a GPS coord is on. I am able to do it if I create a layer with a shape file but some of the points I am plotting do not have a shape file associated with their location so was hoping I could get the street name from the WorldMapKit. I'm just not able to find an example on how to do that if at all possible.
I will give that example a look.
Thanks,
- Josh
Looks like the example above uses shape files. So still have the first issue.
Thanks,
- Josh
Josh,
If you have the World Map Kit SDK you have access to the shapefiles that make up the roads and address information. These files are in the TLKA folder under the USA and there is a folder for each state.
I hope this helps.
Thanks!