Monday, 15 August 2011

How to hide default labels on Google Maps iOS SDK -



How to hide default labels on Google Maps iOS SDK -

i using googlemapsdk v1.8 on latest ios app. possible display normal map (kgmstypenormal) without of default labels?

for example, hiding or of following: city labels, road labels, public transport icons, etc. hope there way this. please guide me right way accomplish objective.

map types can customize map 1 of several map types. map's type governs overall representation of map. example, atlas contains political maps focus on showing boundaries, , road maps show of roads city or region. google maps sdk ios offers next types of maps:

type value description

normal kgmstypenormal typical road map. roads, man-made features, , of import natural features such rivers shown. road , feature labels visible. default map mode in google maps ios.

hybrid kgmstypehybrid satellite photograph info road maps added. road , feature labels visible. map type can enabled on google maps app ios turning on satellite view.

satellite kgmstypesatellite satellite photograph data. road , feature labels not visible. made not available in google maps ios.

terrain kgmstypeterrain topographic data. map includes colors, contour lines , labels, , perspective shading. roads , labels visible.

none kgmstypenone no map tiles. base of operations map tiles not rendered. mode useful in conjunction tile layers. display of traffic info disabled when map type set none. alter map type

to set type of map, assign new value gmsmapview.maptype property. example, display satellite map type:

gmscameraposition *camera = [gmscameraposition camerawithlatitude:-33.8683 longitude:151.2086 zoom:6]; mapview_ = [gmsmapview mapwithframe:cgrectzero camera:camera]; mapview_.maptype = kgmstypesatellite;

https://developers.google.com/maps/documentation/ios/map

i believe no , found no api on gmsmapview hide them. https://developers.google.com/maps/documentation/ios/reference/interface_g_m_s_map_view

ios google-maps-sdk-ios

No comments:

Post a Comment