On Jun 7, 1:39 pm, jbolton47 <bol...@rogers.com> 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 Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---