Hi, I don't know where to speak about my problem, so I try here.
I have a very simple Cocoa application, with juste a webview. This
webview load an HTML page with this very light javascript code :
var map;
var marker;
// initialisation et affichage de la carte
function init() {
map = new GMap2(document.getElementById("map_area"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
var center = new GLatLng(46,7);
map.setCenter(center,2);
marker = new GMarker(new GLatLng(46,7),{draggable:true,title:""});
map.addOverlay(marker);
}
Simple, no ?
My app works fine when I had Safari 3.2 installed. But with the new
Safari 4, I can see the map, but I don't see the controls, I can mouve
the map (it's like if a try to move an image on a web page) and I can
move the marker.
The bad thing : this simple html file works great on Safari 4 !
Any know problem with a webview and Safari 4 ?
Thank you !
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---