Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Experience Builder
ArcGIS Dashboards
ArcGIS Spatial Analyst
ArcGIS Field Maps
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Public Safety
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcObjects SDK
ArcGIS Pro SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
File Geodatabase API
Game Engine Maps SDKs
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Esri India
GeoDev Germany
ArcGIS Content - Esri Nederland
Esri Italia Community
Comunidad GEOTEC
Esri Ireland
Používatelia ArcGIS
All Global Communities
All Communities
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Learning
Networks
ArcGIS Topics
GIS Life
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
Native Maps SDKs
:
Runtime SDK for Android Questions
:
Feature Layer not displaying?
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
Feature Layer not displaying?
Subscribe
2255
3
04-23-2013 12:33 AM
by
TrevorHart1
Emerging Contributor
04-23-2013
12:33 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Im following the MyWater sample.
In my mapview I've added the feature layer as per the sample
ie
http://mobilesampleserver.arcgisonline.com/ArcGIS/rest/services/DemoData/incidents_service/FeatureSe...
But its not displaying...
Its definitely loading since if I add the feature layer first the extent of the map is the extent of the Feature Layer.
Is there anything else I need to do get it to display on the map.
Tags
(3)
Tags:
_java
android
native_app_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
3 Replies
by
TrevorHart1
Emerging Contributor
04-23-2013
12:56 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Still cant get it to display. Its definitely loaded as if I call getDisplayField() I get a string returned of "description" which is consistent with the service being used.
Reply
0
Kudos
by
TrevorHart1
Emerging Contributor
04-23-2013
08:00 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Seems to be be related to the feature service?
This one works fine
🙂
http://mobilesampleserver.arcgisonline.com/ArcGIS/rest/services/DemoData/California_Campgrounds/Feat...
But this one refuses to display!
http://mobilesampleserver.arcgisonline.com/ArcGIS/rest/services/DemoData/incidents_service/FeatureSe...
Not sure what the difference is? I thought it may be read only vs editable but Ive also successfully used these (which are editable);
http://mobilesampleserver.arcgisonline.com/ArcGIS/rest/services/DemoData/SabineTestService5/FeatureS...
http://mobilesampleserver.arcgisonline.com/ArcGIS/rest/services/DemoData/ElectricDistributionInspect...
Reply
0
Kudos
by
TrevorHart1
Emerging Contributor
04-24-2013
12:18 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Wow, now its even more bizarre.
Exact same code on Galaxy Tab (Android 4.0.4) and water incidents feature layer displays perfectly.
Same code on S2 (Android 4.0.3) and water incidents feature layer does not display.
Reply
0
Kudos
Post Reply