i set up everything like APIKey and ArcGIS RunTIme Environment and javaFX also but while im running the code provided by the official esri documentation , im not getting any display output i tried to display the ArcGIS basemap it was working but while im reading the Shapefile was not giving any output, i'm keep on trying but not getting any result.
i'm happy get your suggitions & Thanks in advance.
I can't see anything obviously wrong with your code and its looks very similar to the sample we have.
Have you managed to get our sample working? This example does work with the data we've included, so I'm wondering if this is an issue with your data?
Are you seeing any error messages on the console. You've got a few potential places you output messages if the shapefile fails to load.
Is the shaefile complete? A shapefile needs to be used alongside other files which it originally came with. If you just have a .shp file on its own, this will not work. If you use the data in our sample you will see what a complete shapefile will look like.
Dear MarkBaird sir,
Yes your official esri Sample code i executed & sir the shapefile included with .shx, .dbf,.qix these all are i put in the folder to run the shape file to display as you said there is nothing wrong in my code but i can't able to find whats the problem & why it didn't displaying anything
lastly i checked with basemap(ArcGISBaseMap) to display the map to check wheather to check the installations are well or not it's beautifully displayed Base but coming to shape file i don't know why it's displaying some thing messy about it, i cant finding & i did a lot of research.
The shape file was didn't displaying anything as i put earlier blankframe.
i have a plenty of internet& i didn't seen any error on my console
@PRAVEENPATNANA I'm suspecting a data issue. I've tried to send you a message so maybe I could get a copy of your data to see what is going on.
Sir which data? what i have to send to you? could you clarify could i send the copy of my project?
A couple more questions:
- Have you managed to get it working with the data we include in the sample?
- Is the issue only with you data, or all shapefiles?
i didn't involved in gradle , i built in maven project sir.
One thing a colleague has pointed out is you might not be using the APIKey correctly:
I think it will work better if you just put the API key into the string like this:
String apiKey = "AAPK...."