Skip to content

Commit

Permalink
#233 refine StreetView implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Oct 15, 2016
1 parent 09a7e52 commit 7c79c1b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/kadviewer/site/config/Options.js
Expand Up @@ -902,6 +902,7 @@ Heron.options.map.toolbar = [
// fileName: 'heron_map',
// fileExt: '.cml'
// }},
// {type: "streetview"},
{type: "help", options: {contentUrl: 'content/help.html', popupWindow: {width: 640, height: 540}}}
];

Expand Down
4 changes: 4 additions & 0 deletions apps/kadviewer/site/index.html
Expand Up @@ -8,6 +8,10 @@
<!-- External lib: ExtJS -->
<link rel="stylesheet" type="text/css"
href="http://cdnjs.cloudflare.com/ajax/libs/extjs/3.4.1-1/resources/css/ext-all.css"/>

<!-- Needed for Google StreetView -->
<!--<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.24"></script>-->

<script type="text/javascript"
src="http://cdnjs.cloudflare.com/ajax/libs/extjs/3.4.1-1/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/extjs/3.4.1-1/ext-all.js"></script>
Expand Down
10 changes: 9 additions & 1 deletion heron/examples/streetview/help.html
Expand Up @@ -6,7 +6,15 @@ <h2>About this Example</h2>


<h3>Usage</h3>
<p>Enable in Toolbar as in the <a href="Config.js">Config.js</a> for this example.</p>
<p>
Enable in Toolbar as in the <a href="Config.js">Config.js</a> for this example.
</p>
<p>
You will need to include the Google Maps JS API in the header of index.html:
</p>
<p>
%lt;script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.24"%gt;%lt;/script%gt;
</p>

<h3>Widgets</h3>
<p>Heron.widgets.GoogleStreetViewPanel</p>
Expand Down
2 changes: 1 addition & 1 deletion heron/examples/streetview/index.html
Expand Up @@ -18,7 +18,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Heron - Google StreetView Example</title>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.2&amp;sensor=false"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.24"></script>

<!-- External lib: ExtJS -->
<link rel="stylesheet" type="text/css" href="http://cdnjs.cloudflare.com/ajax/libs/extjs/3.4.1-1/resources/css/ext-all.css"/>
Expand Down

0 comments on commit 7c79c1b

Please sign in to comment.