ArcGIS for iOS - How to stop seeing outside map -
in project, have agsmapview taking screen starts zoomed out show entire world map. have set wrap around horizontally, works fine there.
however, vertically can see empty gray grid @ top , bottom of map. user can scroll map , grid can take @ half screen, @ zoom level long you're @ edge.
is there way snap edge of map edge of view it's embedded in , not show ugly grid?
you should agsmapview. maxenveloppe you're looking :
limits amount map can panned such anchor point (typically center) never goes outside envelope. default, full envelope of basemap layer. if set custom extent, envelope must have same spatial reference map.
by way, can restyle grid backgroundcolor, gridlinewidth, gridlinecolor , gridsize. if want remove grid effect, have set gridlinewidth 0.
Comments
Post a Comment