I was get a map working in API V3,but I cant get to se markers and connection to start a shadowbox ... help!
TNX! Dana ponedjeljak, 31. prosinca 2012. 12:42:12 UTC+1, korisnik liqui...@gmail.com napisao je: > > I dont know hot to migrate this code , I dont have programer skills : > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" >> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> >> <html> >> <head> >> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> >> <title>Daruvarskih 360°</title> >> <link href="css/style.css" rel="stylesheet" type="text/css" /> >> <script type="text/javascript" src="js/shadowbox.js"></script> >> <link rel="stylesheet" type="text/css" href="js/shadowbox.css"/> >> <script type="text/javascript"> >> Shadowbox.init({ >> language: 'hr', >> overlayOpacity: '0.70' , >> players: ['iframe','swf', 'html'] >> }); >> </script> >> <script src=" >> http://maps.google.com/maps?file=api&v=2&key=your_key<http://maps.google.com/maps?file=api&v=2&key=AIzaSyAyWIIEdMl3-LV27xgybjq64dP1FLHpI9E> >> " >> type="text/javascript"></script> >> <script type="text/javascript"> >> function load() { >> if (GBrowserIsCompatible()) { >> var map = new GMap2(document.getElementById("map")); >> map.enableScrollWheelZoom(); >> map.addControl(new GLargeMapControl3D()); >> map.addControl(new GMapTypeControl()); >> var mlatitude = "45.5936554"; >> var mlongitude = "17.2240136"; >> map.setCenter(new GLatLng(mlatitude,mlongitude), 17, >> G_SATELLITE_MAP); >> >> var marker0 = new google.maps.Marker(new >> google.maps.LatLng(45.59366,17.22518), {title:'Ulaz u Julijev park'}) >> GEvent.addListener(marker0,"click", function() { >> Shadowbox.open({content: 'antunova_out.swf', >> player: "swf", width: 800, height: >> 600});});map.addOverlay(marker0); >> >> var marker1 = new GMarker(new GLatLng(45.59551,17.22064), >> {title:'Dvorac grofa Jankovića'}) >> GEvent.addListener(marker1,"click", function() { >> Shadowbox.open({content: 'dvorac_out.swf', >> player: "swf", width: 800, height: >> 600});});map.addOverlay(marker1); >> >> } >> } >> ; >> </script> >> </head> >> <body onload="load()" onunload="GUnload()" style="height: 100%"> >> <div class="info" style="left: 50%; right: 50%;" > >> <a target="_blank" href="info.html" >> rel="shadowbox[info];width=800;height=550;player:html" ><img src="info.png" >> title="Uputstvo za korištenje" /></a><br /></div> >> <div id="map" style="width: 100%; height: 100%; clear: none; >> z-index:0"></div> >> </body> >> </html> >> > > > I was try something,but I can get only Google map in full screen without > any markers and without shadowbox opening . swf file > > Thanks in advance !!! -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/ADc2Wf9OOQ0J. 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.