Does anybody knows how to make a bookmark using arcgis sdk for android ?
I already read the API reference but it doesn't pretty clear for me.
Thank you, Abdul. I ever used it before, the result was not my expected. I just need to get the center coordinate or extent of the map current extent.
Regarding list of bookmark, I already used it in my application using like this :
double lat = -7.2742175;
double lon = 112.719087;
map.centerAndZoom(lat, lon, 10);
I need have additional function to add a new bokmark by getting a map current extent, but I can't do that.
Can you please try:
to Get full Extent of Layer
yourLayer.getFullExtent();
to Get Extent of Layer
yourLayer.getExtent();
Thank you for your response Abdul Razal,
I still wondering how to get the current extent and zoom level. Is it possible using like this :
Bookmarking a point is just saving lat/lon and displaying it in a list to user. Use Zoom method of MapView to zoom on a selected bookmark.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.