maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   how to activate streetview? (https://talk.maemo.org/showthread.php?t=53237)

cjard 2010-05-21 08:55

how to activate streetview?
 
i'm on google maps, looking at a top down of a london street. i cannot drag/drop the little orange man onto the map in either microb mouse pointer mode. how else can streetview be activated?

ta

johnel 2010-05-21 09:09

Re: how to activate streetview?
 
With the unoptimised version of Flash on the n900, streetview is unusable without it.

radiosw 2010-05-21 09:16

Re: how to activate streetview?
 
If you disable the cursor by swiping it from the left then taping on the cursor symbol you get some control over streetview

Pigro 2010-05-21 09:26

Re: how to activate streetview?
 
1 Attachment(s)
AFAIK I have the stock browser/flash (with flashblock). Streetmaps works fine for me as per attached, showing correct mouse pointer mode. I did notice though that if microb is running full screen, street view goes int a cycle of repeated refresh without any user input (don't recall that happening before?).

if you still can't drag the wee orange guy, do a text search on the map, and choose one of the selected results. that puts a bubble/balloon on the map with info, and there is a "more" drop dow in the bubble - one option in the list is streetview ( you still need the mouse in correct mode to select this, obviously).

final note - selecting & dragging the ginger guy is very laggy, you need to be patient.

debernardis 2010-06-23 05:59

Re: how to activate streetview?
 
Streetview doesn't work any more on my microb browser. Asks for Flash 10. :( :( :(
@Pigro, can you try if yours do work?

Pigro 2010-06-23 08:09

Re: how to activate streetview?
 
no. streetview is no longer available on n900 (as expected, it needs Flash 10). The bad news is that this is not specific to google maps, there are many flash sites that are currently going the same way. The good news is that we'll soon have lovely black £500 paperweights - unless Nokia/Adobe take pity on us poor, naive folks. Imagine thinking that the "full web" browsing experience I paid for in Dec 2009 should remain available on my device for over 6 months!

debernardis 2010-06-23 10:42

Re: how to activate streetview?
 
What disturbes me is that Streetview seems to be available on the Ipad (which has no Flash). I experimented in Microb with the Ipad user agent but so far no streetview for me :(

EDIT: I've read that streetview works on the Ipad in its own Maps application, not in the browser. So we need such an app on our device, I guess. Not that I find it likely.

debernardis 2010-06-23 12:31

Re: how to activate streetview?
 
Sorry for the bumping. If you're interested like me in having streetview on your N900, please go ask to Google to leave a Flash 9 version online for our device.
Here: http://www.google.com/support/forum/...c639894a&hl=en
or if you know another place to ask for it, please post here.

debernardis 2010-06-24 05:29

Re: how to activate streetview?
 
I have been searching for workarounds on the 'net.
Here's the first I found:
http://mapperz.googlepages.com/GMAP_Streetview.html
Go get this file, save it on your storage and open it in microb.
Lacks place search but I bet it can be added.

debernardis 2010-06-27 16:38

Re: how to activate streetview?
 
2 Attachment(s)
I have been fiddling with Google sample code and I've put together this. Feel free to improve it.

kureyon 2010-07-28 06:37

Re: how to activate streetview?
 
Quote:

Originally Posted by debernardis (Post 731567)
I have been fiddling with Google sample code and I've put together this.

Cool! Is the find button supposed to work?

Yes the find button does work. I had changed the dimensions like so:
Code:

<div id="pano" style="width: 800px; height: 430px;"></div>
<div id="map_canvas" style="position:absolute; left:800px; top: 8px; width: 400px; height: 430px"></div><p>
    <div>
    <input id="address" type="textbox" value="Acireale, Italy">
    <input type="button" value="Find" onclick="codeAddress()">

  </div>

and that shifted the overview map offscreen to the right, just had to click and drag to see the results of the search :)

xuggs 2010-07-28 06:41

Re: how to activate streetview?
 
Yes the find button works very well. What I would like to see is an option to make the streetview fullscreen. Is it possible debernardis?

kureyon 2010-07-28 06:47

Re: how to activate streetview?
 
Quote:

Originally Posted by xuggs (Post 767400)
What I would like to see is an option to make the streetview fullscreen.

Just modify the dimensions like I did above and you'll get fullscreen.

debernardis 2010-10-23 13:02

Re: how to activate streetview?
 
It seems that streetview doesn't work any more in microb, either with my html or with http://www.tomch.com/maemaps.html. No image is received, while controls do show in their window.
Still working some way with firefox 4 beta or opera, but only microb has mouse mode to click and drag the image.
Any solution?

jussi69 2010-10-23 16:51

Re: how to activate streetview?
 
Quote:

Originally Posted by cjard (Post 668917)
i'm on google maps, looking at a top down of a london street. i cannot drag/drop the little orange man onto the map in either microb mouse pointer mode. how else can streetview be activated?

ta

How to activate streetview? Get an Android phone.

Street View is Google service. It's not Nokia service.

debernardis 2010-10-23 18:09

Re: how to activate streetview?
 
Quote:

Originally Posted by jussi69 (Post 848798)
How to activate streetview? Get an Android phone.

Street View is Google service. It's not Nokia service.

Although google maps works well in every desktop browser, provided Flash 10.something is available, or javascript. And it *was* working on microb until something changed in javascript. In fact, both in Opera and Firefox for the N900 it is possible to have streetview images... the point is that these browser lack hover mode (which is present in microb) and panning the streetview image becomes a nuisance.

rebhana 2010-10-23 18:42

Re: how to activate streetview?
 
Quote:

Originally Posted by debernardis (Post 848856)
Although google maps works well in every desktop browser, provided Flash 10.something is available, or javascript. And it *was* working on microb until something changed in javascript. In fact, both in Opera and Firefox for the N900 it is possible to have streetview images... the point is that these browser lack hover mode (which is present in microb) and panning the streetview image becomes a nuisance.

How is is possible to have streetview in Opera and Firefox? I tried maemaps and with Opera I'm not even able to enter a location, while in Firefox I get an error message about flashplayer although I'm using tweakflashversion.

debernardis 2010-10-24 05:20

Re: how to activate streetview?
 
Quote:

Originally Posted by rebhana (Post 848879)
How is is possible to have streetview in Opera and Firefox? I tried maemaps and with Opera I'm not even able to enter a location, while in Firefox I get an error message about flashplayer although I'm using tweakflashversion.

Rebhana, try the html I attached in post #10 (get it more easily in http://www.debernardis.it/strade3-3.html )- it uses the javascript apis of streetview (I did some cut and paste using google's code examples).
It used to work with microb and now doesn't. Works instead with firefox and opera on the n900, but there's no hover mode to pan the streetview image. Works also with firefox browser in easy debian, and with desktop firefox.


EDIT: now I'm thinking it's a problem in my N900, maybe. Can you tell me if opening the link above, you get the image in the streetview panel on the left? At present I get only the controls, while the image is white.

rebhana 2010-10-24 08:58

Re: how to activate streetview?
 
Quote:

Originally Posted by debernardis (Post 849180)
Rebhana, try the html I attached in post #10 (get it more easily in http://www.debernardis.it/strade3-3.html )- it uses the javascript apis of streetview (I did some cut and paste using google's code examples).
It used to work with microb and now doesn't. Works instead with firefox and opera on the n900, but there's no hover mode to pan the streetview image. Works also with firefox browser in easy debian, and with desktop firefox.


EDIT: now I'm thinking it's a problem in my N900, maybe. Can you tell me if opening the link above, you get the image in the streetview panel on the left? At present I get only the controls, while the image is white.

I have the same: your page works in firefox but not in microB. In the latter I only see the navigation items, not the picture.

EDIT: wow, great, in firefox I can move around by clicking on the arrows. What now is the problem with firefox? - Oh I see, I can't get streetview for other places!

EDIT2: I have the same problem on my desktop, with
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.14eol) Gecko/20070505 Iceape/1.0.9 (Debian-1.0.13~pre080614i-0etch1)

debernardis 2010-10-24 09:10

Re: how to activate streetview?
 
Thanks for your help, Rebhana. I was almost to the point to reflash (which is a bad idea when you have several other things to get done).

Something has changed in Microb's javascript because the test page worked well there before. Go figure, it works well also in the N810 Chinook browser!

In Firefox you can move with the arrows, but you can't pan by tap-and-move in the image- it used to be possible with Microb before.

I wish to determine if this problem is due to some other app interfering with microb, which both Rebhana and I might have installed.

I ask you, dear reader, to try the page http://www.debernardis.it/strade3-3.html in n900 microb and report if you can see the church in the left pane or only a blank picture with control.

Rebhana already did it. Thanks all ;)

rebhana 2010-10-24 09:14

Re: how to activate streetview?
 
Quote:

Originally Posted by debernardis (Post 849262)
TI wish to determine if this problem is due to some other app interfering with microb, which both Rebhana and I might have installed.

I think something has changed on google's side: on my desktop, I have the same problem with a somewhat older Mozilla browser, but it works on a newer iceweasel/firefox.

bingbings 2010-10-24 09:18

Re: how to activate streetview?
 
Only a white picture with controls here....

debernardis 2010-10-24 09:27

Re: how to activate streetview?
 
No Google API v3 example works with streetview anymore on microb.
See for example http://bit.ly/aGdquM

Guess we have to stay without streetview - too bad. Or wait for pr1.3? Or take an android device? ;)

EDIT: there is still hope: it works *well* in Iceweasel for Easy Debian!

rebhana 2010-10-24 10:03

Re: how to activate streetview?
 
Quote:

Originally Posted by debernardis (Post 849271)
EDIT: there is still hope: it works *well* in Iceweasel for Easy Debian!

Cool! Here everything works! So I'll make your streetview page the home page in Iceweasel and so have a dedicted google streetviewer! Your way of representing that side-by-side is actually superior to google maps!

As for microB, let's hope PR1.3 does include a minor update which makes it work again!

At any rate, thanks so much for your html and javascript coding!

rebhana 2010-10-24 10:56

Re: how to activate streetview?
 
1 Attachment(s)
Quote:

Originally Posted by debernardis (Post 731567)
I have been fiddling with Google sample code and I've put together this. Feel free to improve it.

So here is my how-to for a dedicated google streetviewer for those who already have Easy Debian:

1. Install debernardis's html file in /home/user

2. Create a streetview app by
Code:

cp /usr/share/applications/hildon/iceweasel.desktop /usr/share/applications/hildon/streetview.desktop
and edit the newly created /usr/share/applications/hildon/streetview.desktop to contain the lines
Code:

[Desktop Entry]
Encoding=UTF-8
Name=Google Streetview
Comment=Browse the World Wide Web
GenericName=Web Browser
Exec=debbie "xbindkeys;iceweasel file:///home/user/strade3-3.html"
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=streetview
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;
StartupWMClass=Firefox-bin
StartupNotify=true

3. Copy the attached icon to /opt/usr/share/icons/hicolor/scalable/hildon

You can then install a shortcut on your desktop, which opens google streetview in Easy Debian iceweasel. To toggle full screen mode, press F11, which through xbindkeys is mapped to Shift+Fn+<key to the left of backspace> (it's symbol depends on your national keyboard)

debernardis 2010-10-24 11:01

Re: how to activate streetview?
 
1 Attachment(s)
You burned me! I was preparing that too ;)
Here's another icon

EDIT: can we do that also with xulrunner? It might be more like a standalone app

rebhana 2010-10-24 11:08

Re: how to activate streetview?
 
Quote:

Originally Posted by debernardis (Post 849351)
You burned me! I was preparing that too ;)
Here's another icon

Sorry! But you could actually produce a teeny-weeny package out of that (depending on Easy Debian unfortunately), similarly to your swappolube-nogui, and so you could let us participate in future improvements of your strade file!

One request I would have for the latter would be that whenever you type in something in the find location bar that the streetview would get updated if the new location does have a streetview coming with it. Would that be possible/difficult?

debernardis 2010-10-24 11:20

Re: how to activate streetview?
 
Quote:

Originally Posted by rebhana (Post 849362)
One request I would have for the latter would be that whenever you type in something in the find location bar that the streetview would get updated if the new location does have a streetview coming with it. Would that be possible/difficult?

I don't know :D I am only able to cut and paste code bits - to give you an answer I have to study some javascript - but I guess it's not difficult :)

rebhana 2010-10-24 11:26

Re: how to activate streetview?
 
Quote:

Originally Posted by debernardis (Post 849373)
I don't know :D I am only able to cut and paste code bits - to give you an answer I have to study some javascript - but I guess it's not difficult :)

A simpler request then: in full screen view, iceweasel still shows scroll bars, because the picture is just a few pixels to big. How to change that? (Of course, I just could experiment with your file, but I guess, you immediately know ;)

debernardis 2010-10-24 11:41

Re: how to activate streetview?
 
Quote:

Originally Posted by rebhana (Post 849379)
A simpler request then: in full screen view, iceweasel still shows scroll bars, because the picture is just a few pixels to big. How to change that? (Of course, I just could experiment with your file, but I guess, you immediately know ;)

Try the page now in http://www.debernardis.it/strade3-3.html - in my hands fits the iceweasel window without showing scroolbars.

EDIT: do you have any recipe to open iceweasel in fullscreen mode? I am presently trying xdotool as suggested in http://www.linuxquestions.org/questi...anging-707461/

mirakels 2010-10-24 11:56

Re: how to activate streetview?
 
picture is blank, map is ok with microb.

also tried firefox/fennec: no picture and no map at all....

debernardis 2010-10-24 12:04

Re: how to activate streetview?
 
Quote:

Originally Posted by mirakels (Post 849404)
picture is blank, map is ok with microb.

also tried firefox/fennec: no picture and no map at all....

Strange. However, fennec is no use because lacks hover mode. Let's use iceweasel, hoping that microb functionality gets restored.

Helmuth 2010-10-24 12:55

Re: how to activate streetview?
 
If we're using PyQt and Qt4.6 to view HTML Code in a Application Window. Is there the MicroB Engine used or something else from Qt?

rebhana 2010-10-24 13:36

Re: how to activate streetview?
 
Quote:

Originally Posted by debernardis (Post 849392)
Try the page now in http://www.debernardis.it/strade3-3.html - in my hands fits the iceweasel window without showing scroolbars.

EDIT: do you have any recipe to open iceweasel in fullscreen mode? I am presently trying xdotool as suggested in http://www.linuxquestions.org/questi...anging-707461/

The new strade3-3.html fits without scrollbars, but does not completely fill the window, I guess you already tried how far you can stretch it? Something else changed, though: the scales between the two sets of + and - buttons have disappeared. Is that on purpose? I did like them in fact.

Regarding starting in fullscreen - I was looking for a command-line switch but didn't find one.

debernardis 2010-10-24 16:01

Re: how to activate streetview?
 
Quote:

Originally Posted by rebhana (Post 849474)
The new strade3-3.html fits without scrollbars, but does not completely fill the window, I guess you already tried how far you can stretch it? Something else changed, though: the scales between the two sets of + and - buttons have disappeared. Is that on purpose? I did like them in fact.

Regarding starting in fullscreen - I was looking for a command-line switch but didn't find one.

Unfortunately, for widths < 400, the scales get automatically reduced to the plus and minus buttons only, on Google's side. And, with width >= 500, the horizontal scrollbar gets in.

The fullscreen issue seems embarassingly difficult, from what I read online.

Maybe some xulrunner experts might come here and help us... :rolleyes:

rebhana 2010-10-24 16:11

Re: how to activate streetview?
 
1 Attachment(s)
Quote:

Originally Posted by debernardis (Post 849589)
Unfortunately, for widths < 400, the scales get automatically reduced to the plus and minus buttons only, on Google's side. And, with width >= 500, the horizontal scrollbar gets in.

OK, then we can have scales at least in the map panel, where it is more useful. Here is my final strade file then...

EDIT: I managed to get back both scales by two panels of 400 px each, overlapping in 1 px (updated the attached strade file).

debernardis 2010-10-24 16:26

Re: how to activate streetview?
 
Bingo :)

Install kazehakase on easy debian
then start the viewer as follows:
Code:

debbie kazehakase -a "ToggleFullScreen" http://www.debernardis.it/strade3-3.html
Kazehakase is way quicker than iceweasel, and starts in full screen mode without any trouble :) Now it's more like a specific google streetview app ;)

rebhana 2010-10-24 16:35

Re: how to activate streetview?
 
1 Attachment(s)
Have you installed Kazehakase from Squeeze? In Lenny I just got some error.

EDIT: ... and in Squeeze, where I could install without error, I got
Code:

kazehakase: symbol lookup error: /usr/lib/ruby/1.8/arm-linux-eabi/gtk2.so: undefined symbol: gtk_file_system_error_quark
EDIT2: After
Code:

apt-get install libgtk2-ruby libgtk2-ruby1.8
in squeeze, the above error goes away, but kazehakase cannot initialize gecko, and iceweasel now starts with an error that some configuration of firefox-bin is broken. Though clicking OK lets me proceed without problem. :confused: Any suggestion?

EDIT3:
Code:

apt-get install xulrunner-1.9.1
to the squeeze version, plus a reboot, solved my problem with kazehakase!

EDIT4: And here is an optimized strade.html file for use in kazehakase...

debernardis 2011-01-28 06:34

Re: how to activate streetview?
 
I have found that the macuco2 web browser performs well in showing my streetview page, provided you chose default user agent, zoom out and show it fullscreen. I'm contacting the maintainer/developer fcrochik to see if it can be imvoked with parameters, to open streetview directly.

Edit: Fcrochick told me he'll work for next version of macuco2 to add parameter parsing. Thanks! :)

debernardis 2011-02-13 11:35

Re: how to activate streetview?
 
1 Attachment(s)
Thanks to the excellent work of Fcrochik we can have quite a nice "app" experience to browse streetview. In fact, he tweaked Macuco2 the way one can call it from dbus to open a certain url fullscreen, and decide in advance which user agent to declare.

Install the latest Macuco2 (or update it); copy the attached .desktop file to /usr/share/applications/hildon/ and the .png file to /usr/share/pixmaps/ - and there you go ;)


All times are GMT. The time now is 22:12.

vBulletin® Version 3.8.8