Reputation: 13
In my application i added google maps application.It works fine.But in the map UI there is button zoomin and zoomout and also current location button, i want to hide or remove this button is this possible? i have load google map application in my UIWebview using this url @"http://maps.google.com/maps?q=3711.
Can anyone help me ?
Thanks in advance
Upvotes: 0
Views: 323
Reputation: 6450
I think you are better off to use the built-in framework MapKit. It looks the exact same as Google Maps through the Web but all the controls are iPhone-native (pinch to zoom, scroll, etc). The action is much smoother than on the Web.
Take a look at MKMapView
.
Upvotes: 0
Reputation: 12112
This link and this link describe the parameters available to adjust the display of Google Maps.
However, you may be better off implementing MKMapView instead of using a UIWebView. I would start by reading the Location Awareness Programming Guide, and then looking at the projects listed under "Related sample code" here.
Upvotes: 4