It works fine on my Android device and I'm guessing it will be just fine on my iPhone as well since there are no script errors on the page.
Symbian based devices aren't a supported platform so it may just not be possible to make this work. Chad Killingsworth On Jul 21, 7:15 am, morinel <[email protected]> wrote: > Hi, > > Am upgrading a v2 Google Maps API application to v3. Now is also the > time to try to use a full blown v3 Google Maps page for mobile usage. > I am however unable to center the map at the point I specify. The map > is centered at 0,0 (and I see Sao Tomé) instead. In e.g. Firefox 3.6 > it works perfectly. > > The code is pretty straightforward: create a point, center the map on > this point and add a marker for this point. > > <div id="google_map" style="width: 238px; height: 318px"></div> > > <script type="text/javascript"> > // <![CDATA[ > function loadMap() { > var point = new google.maps.LatLng(52.10498, 6.66269); > var gmap = new google.maps.Map(document.getElementById('google_map'), > { > zoom: 6, > center: point, > mapTypeId: google.maps.MapTypeId.ROADMAP, > mapTypeControl: true, > navigationControl: true}); > > var marker = new google.maps.Marker({ > position: point, > map: gmap}); > } > > // ]]> > </script> > > Whether I use sensor=true or sensor=false doesn't matter. > > Link to the map:http://vanvianen.nl/googlemaps.html > > Please try with another mobile handset and tell me whether it works > for you and please help me fix this problem for Nokia Series 60 > phones. > > Thanks, > > Jeroen -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
