Street View Issues Please Help.

9 views
Skip to first unread message

Thing One

unread,
Aug 16, 2011, 7:20:22 AM8/16/11
to MediaWiki Widgets
Hi Sergey,

Ok so I tried the widget extension to make use of the Google Street
View widget.


Well the widget for the street view is tossing me up an error that
goes something like this: http://wiki.wodgotham.com/index.php?title=Street_View_Test

When my pages are supposed to look like this:
http://wiki.wodgotham.com/index.php?title=Main_Page

I know it's not the extension because I tried another widget here:
http://wiki.wodgotham.com/index.php?title=Test
I wanted to test if it was the extension, the widget, or something
else that was causing the problem. However this Survey widget worked.

I do have FCKeditor installed but I toggled that off in the event that
it interfered with the supplied code for the Street View widget.

So I know it's this Google Street View widget that is making a big
stink.

However, I don't know why because I don't understand code that well.
I'm n00bish to all this.

I did successfully install the Google Map Extension -
http://www.mediawiki.org/wiki/Extension:Google_Maps. That went fine
(I installed that first before the widget as I found the widget later
in a google search)....well until I installed the street view widget.
Now I can't play with maps because the street view widget also affects
the google map extension so pages with a google map go bonkers and
destroy formatting just like in the street view example. So without
the widget - google maps renders fine. With the google street views
nothing renders fine and the pages where the maps and street views are
located tend to destroy the formatting of the wiki skin. :(

This error happens for me across all the browsers I have installed
which are: Firefox, Chrome, IE, and Opera.

Anyhow if you could help me get it to work, that would be greatly
appreciated.

Here's my Media Wiki version info and stuff:

My wiki: http://wiki.wodgotham.com

Special: Version info
MediaWiki 1.16.2
PHP 5.2.17 (cgi)
MySQL 5.0.91mm-log

Currently Installed Extensions:
Widgets
Google Maps
phpBB Single Sign On
FCKeditor
CategoryTree
TreeandMenu
NoTitle
ConfirmEdit
DynamicTabs
SimpleSecurity

Thanks again for all your kind help and attention in advance.

Cheers!

Sergey Chernyshev

unread,
Aug 24, 2011, 2:43:10 PM8/24/11
to mediawik...@googlegroups.com
Looks like Google deprecated v2 of Google Maps API and I can't even find any StreetView documentation on their site except for http://code.google.com/apis/maps/documentation/javascript/reference.html#StreetViewControlOptions ;(

I didn't expect Google to break backwards compatibility this way - it usually doesn't happen (my 2006 GvsY map mashup still works fine to my surprise: http://www.sergeychernyshev.com/maps.html).

Anyone up for the task of rewriting the StreetView widget using new API? Current one is just 15 lines of code.

         Sergey



--
You received this message because you are subscribed to the Google Groups "MediaWiki Widgets" group.
To post to this group, send email to mediawik...@googlegroups.com.
To unsubscribe from this group, send email to mediawiki-widg...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mediawiki-widgets?hl=en.


Sergey Chernyshev

unread,
Aug 24, 2011, 2:58:20 PM8/24/11
to mediawik...@googlegroups.com
Actually, there are a bunch of samples here:
http://code.google.com/apis/maps/documentation/javascript/examples/index.html

and here's the most simple one we can base the work on:

It also looks like Google JS loader library is not supported by Maps v3.

Well, anybody wants to take this?

         Sergey

Thing One

unread,
Aug 24, 2011, 3:03:49 PM8/24/11
to MediaWiki Widgets
I'm just an end user and have no idea how to code. I do know that
currently all the wikis that have used the widget are also broken
since someone else who uses the Street View widget also sounded in on
the Google help forums to confirm that he also has the error.

So please please help? The system is so nice and easy to use. I'd hate
to be without it.

On Aug 24, 11:43 am, Sergey Chernyshev <sergey.chernys...@gmail.com>
wrote:
> Looks like Google deprecated v2 of Google Maps API and I can't even find any
> StreetView documentation on their site except forhttp://code.google.com/apis/maps/documentation/javascript/reference.h...
>  ;(
>
> I didn't expect Google to break backwards compatibility this way - it
> usually doesn't happen (my 2006 GvsY map mashup still works fine to my
> surprise:http://www.sergeychernyshev.com/maps.html).
>
> Anyone up for the task of rewriting the StreetView widget using new API?
> Current one is just 15 lines of code.
>
>          Sergey
>

Sergey Chernyshev

unread,
Aug 24, 2011, 3:06:08 PM8/24/11
to mediawik...@googlegroups.com
I'll see what I can do myself, but please ping Google to fix their backwards compatibility - it shouldn't be break, we use the library in the best possible way.

           Sergey

Thing One

unread,
Aug 24, 2011, 3:08:30 PM8/24/11
to MediaWiki Widgets
I've already sent them two "report a problem" queries and then started
flailing around in their help forums. If I have to, I'll tweet them
like crazy.

On Aug 24, 12:06 pm, Sergey Chernyshev <sergey.chernys...@gmail.com>
wrote:
> I'll see what I can do myself, but please ping Google to fix their backwards
> compatibility - it shouldn't be break, we use the library in the best
> possible way.
>
>            Sergey
>

Sergey Chernyshev

unread,
Aug 24, 2011, 4:14:16 PM8/24/11
to mediawik...@googlegroups.com
Please tweet them like crazy so they don't do that to anybody else, but I've somewhat fixed the issue, you can go ahead and copy the latest code:

You can see it in action here:

Key is no longer required, I updated the bookmarklet to remove it so you might want to install it again (although old one should work fine too).

The only problem left which should not affect functionality, but will affect performance is that at this point this code is blocking and no longer asynchronous (which was provided by Google loader API which no longer works with maps version 3).

Post here if it doesn't work for you.

         Sergey

Thing One

unread,
Aug 24, 2011, 7:05:02 PM8/24/11
to MediaWiki Widgets
Hi Sergey,

Thanks for getting it back online so fast. When you say that it's no
longer asynchronous...what precisely does that mean? It doesn't hook
into Google properly anymore? I noticed that the switch to full screen
mode toggle was gone....is that part of the problem?

On Aug 24, 1:14 pm, Sergey Chernyshev <sergey.chernys...@gmail.com>
wrote:
> Please tweet them like crazy so they don't do that to anybody else, but I've
> somewhat fixed the issue, you can go ahead and copy the latest code:http://www.mediawikiwidgets.org/w/index.php?title=Widget:Google_Stree...
>
> You can see it in action here:http://www.mediawikiwidgets.org/Google_Street_View
>
> Key is no longer required, I updated the bookmarklet to remove it so you
> might want to install it again (although old one should work fine too).
>
> The only problem left which should not affect functionality, but will affect
> performance is that at this point this code is blocking and no longer
> asynchronous (which was provided by Google loader API which no longer works
> with maps version 3).
>
> Post here if it doesn't work for you.
>
>          Sergey
>

Sergey Chernyshev

unread,
Aug 25, 2011, 1:09:50 PM8/25/11
to mediawik...@googlegroups.com
No, asynchronous means that you page will not continue loading until this widget's library is complete loading. It doesn't affect the functionality, only user experience because of worse performance.

It looks like new version of street view is also lacking some functionality as well, but it is not related to be sync.

         Sergey

Thing One

unread,
Aug 25, 2011, 10:30:16 PM8/25/11
to MediaWiki Widgets
Heard from Google, Sergey. Check out this response. I'm not a dev so I
don't understand what his instructions and recommendations are. I'm
sure you do.....

http://code.google.com/apis/maps/documentation/javascript/forum.html

On Aug 25, 10:09 am, Sergey Chernyshev <sergey.chernys...@gmail.com>
wrote:
> No, asynchronous means that you page will not continue loading until this
> widget's library is complete loading. It doesn't affect the functionality,
> only user experience because of worse performance.
>
> It looks like new version of street view is also lacking some functionality
> as well, but it is not related to be sync.
>
>          Sergey
>

Sergey Chernyshev

unread,
Aug 26, 2011, 4:46:49 PM8/26/11
to mediawik...@googlegroups.com
Hmm. Not sure which article you're referring to - can you post a direct link to Google's answer?

           Sergey
>> > > > > > > surprise: <http://www.sergeychernyshev.com/maps.html>--

> You received this message because you are subscribed to the Google Groups "MediaWiki Widgets" group.
> To post to this group, send email to mediawik...@googlegroups.com.
> To unsubscribe from this group, send email to mediawiki-widg...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mediawiki-widgets?hl=en.
>
>

--

Thank you,

         Sergey


--
Sergey Chernyshev
http://www.sergeychernyshev.com/


Thing One

unread,
Aug 26, 2011, 4:56:56 PM8/26/11
to MediaWiki Widgets
Reply all
Reply to author
Forward
0 new messages