ferdy
I have also been trying google maps in nokia WRT. Since N97 is
also touch enabled (afaik) did you try panning with touch (touch
dragging) in that just like you do with native google maps app
installed in N97 or 5800? In native google maps you can touch drag map
to pan it but with widget, it seems to be not possible since the
respective mousdown mouseup events are messed up. Can you please check
this and see if it works? Having google maps in the widget and without
touch-pan really bugs me as it would make my app a little unfriendly
to user who would expect to interact with widget by touch.
Can anyone please help in this regard if you have been
facing such issue of google maps in nokia WRT?
Regards
Parthiban R
On Sep 9, 4:16 pm, mapperzUK <[email protected]> wrote:
> ferdy how is your widget stuctured?
>
> widgets for S60 require
>
> helloworld.html
> hellworld.css
> helloworld.js
> icon.png
> info.plist
>
> zipped up and renamed .wgz
>
> BUT note the S60 5 edition (N97) uses .xml instead of .plist
>
> <?xml version="1.0" encoding="UTF-8"?>
> <widget xmlns="http://www.w3.org/ns/widgets"
> id="com.nokia.maps.examples.helloworld"
> version="1.0.0">
> <name>Map - Hello World</name>
> <description>Hello World</description>
> </widget>
>
> then test with the N97 emulator
>
> see the slideshare
> slideshttp://www.slideshare.net/guestfe74eb/map-marker-on-the-mobile03
>
> Sorry going off topic but need to know that process is what your
> doing.
> Then we can de-bugg the marker manager issue
>
> TIP - Download Portable FireFox & the firebug plugin - you can use it
> do detect javascript errors for mobile devices
> [Nokiarecommends this route in the newly released Ovi SDK apps]
>
> Hope that helps
>
> Mapperzhttp://mapperz.blogspot.com/
>
> On Sep 9, 11:24 am, ferdy182 <[email protected]> wrote:
>
> > Hi all,
>
> > I'm making a Widget forNokiaS60 devices (NokiaN97).
> > Widgets are webpages executed under a webkit browser.
>
> > Ok, I developed the widget wich contais a Google Map that was working
> > perfect until I added the MarkerManager. It gives me an error at
> > object creation. I can't provide a link because you have to debug it
> > on the emulator but here is the code:
>
> > function InitMap()
> > {
> > try{
> > if (GBrowserIsCompatible())
> > {
> > map = new GMap2(document.getElementById("_gmap"));
> > map.setCenter(new GLatLng(40.419143, -3.708156),
> > 13);
> > map.addControl(new GSmallMapControl());
> > map.addControl(new GMapTypeControl());
> > map.enableDoubleClickZoom();
>
> > window.setTimeout(setupMarkerMgr, 1000);
>
> > }
> > } catch (ex){
> > alert("Error al iniciar el mapa: "+ex);
> > }
>
> > }
>
> > function setupMarkerMgr()
> > {
> > try{
> > mgr = new MarkerManager(map);
> > } catch(ex)
> > {
> > alert("Error al crear el mgr: "+ex);
> > }
>
> > }
>
> > without the MarkerManager it works fine, so the map is already created
> > and API loaded, and so on...
>
> > the error it gives on the new clause is:
> > TypeError: ValueUndefined (result of expression me.getMapGridBounds_)
> > is not object.
>
> > I have also tried whith MarkerManagerOptions but it was also
> > unsuccesful.
>
> > 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
-~----------~----~----~----~------~----~------~--~---