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)

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/


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

vBulletin® Version 3.8.8