Thanks for the response, unfortunately it's not online yet, just testing on my machine until i've got it working a little bit more. I think all I need is a way of telling the map to redraw the tiles (which oddly enough I can't seem to find). The zooming functionality works when I do a simple test using a button I create in the HTML. However, since I'm trying to make this multi-touch when the same handleZoom gets called from my touch handler it does zoom in but just doesn't update the tiles for some reason. I'm assuming a way of just telling it to update the view and redraw would do the trick.
Thanks again On Jun 7, 7:35 pm, "[email protected]" <[email protected]> wrote: > On Jun 7, 1:39 pm, jbolton47 <[email protected]> wrote: > > > > > > > Sorry if this has been answered before, I know it's a stupid question > > that probably requires a very easy solution but I haven't come across > > it. I have a program written in objective-c that is using a webview to > > embed a google map. The map loads without problems but when I try and > > trigger a zoom function by calling a javascript function in the html > > containing a simple map.zoomIn() I just get a grey screen. If i zoom > > using a control there is no problem. > > > Javascript > > function handleZoomIn() { > > map.zoomIn(map.getCenter()); > > > } > > > Objective-C > > [mapScripter callWebScriptMethod:@"handleZoomIn" withArguments:nil]; > > This group supports the Google Maps API, which is javascript and > html. I don't know Objcetive-C. > If you post a link to your map and can show us that zoomIn doesn't > work the way you are calling it, then someone here can investigate. > > -- Larry > > > > > Obviously those are extremely basic function calls so not sure what > > the issue is. > > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
