Difference between revisions of "Widget:Google Street View"

no edit summary
(Created page with "<noinclude>__NOTOC__ This widget allows you to add '''[http://maps.google.com/help/maps/streetview/ Google Street View]''' widget to your wiki page. Created by [http://www.me...")
 
 
Line 9: Line 9:
== Copy to your site ==
== Copy to your site ==
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
</noinclude><includeonly><!--{if isset($static)}--><img src="http://maps.googleapis.com/maps/api/streetview?size=<!--{$width|escape:'urlpathinfo'|default:'420'}-->x<!--{$height|escape:'urlpathinfo'|default:350}-->&location=<!--{$lat|escape:'urlpathinfo'}-->,%20<!--{$lng|escape:'urlpathinfo'}-->&fov=<!--{$fov|escape:'urlpathinfo'|default:90}-->&heading=<!--{$yaw|escape:'urlpathinfo'|default:0}-->&pitch=<!--{$pitch|escape:'urlpathinfo'|default:0}-->&sensor=false" width="<!--{$width|escape:'html'|default:'420'}-->" height="<!--{$height|escape:'html'|default:350}-->"/><!--{else}--><!--{counter assign="panoDivID" name="panoDivID"}--><!--{if $panoDivID eq 1}--><script type="text/javascript" src="http://www.google.com/jsapi?key=<!--{$key|escape:'urlpathinfo'}-->"></script><!--{/if}-->
</noinclude><includeonly><!--{if isset($static)}--><img src="https://maps.googleapis.com/maps/api/streetview?size=<!--{$width|escape:'urlpathinfo'|default:'420'}-->x<!--{$height|escape:'urlpathinfo'|default:350}-->&location=<!--{$lat|escape:'urlpathinfo'}-->,%20<!--{$lng|escape:'urlpathinfo'}-->&fov=<!--{$fov|escape:'urlpathinfo'|default:90}-->&heading=<!--{$yaw|escape:'urlpathinfo'|default:0}-->&pitch=<!--{$pitch|escape:'urlpathinfo'|default:0}-->&sensor=false" width="<!--{$width|escape:'html'|default:'420'}-->" height="<!--{$height|escape:'html'|default:350}-->"/><!--{else}--><!--{counter assign="panoDivID" name="panoDivID"}--><!--{if $panoDivID eq 1}--><script type="text/javascript" src="https://www.google.com/jsapi?key=<!--{$key|escape:'urlpathinfo'}-->"></script><!--{/if}-->
<script type="text/javascript">
<script type="text/javascript">
google.load("maps", "2.s");
google.load("maps", "2.s");