Skip to content

Commit

Permalink
MapTour V2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory L'Azou committed Jun 22, 2016
1 parent 3256659 commit b89191f
Show file tree
Hide file tree
Showing 36 changed files with 16,999 additions and 15,972 deletions.
2 changes: 1 addition & 1 deletion MapTour/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "StorytellingMapTour",
"version": "2.5.0",
"version": "2.5.1",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-clean": "~0.4.0",
Expand Down
18 changes: 2 additions & 16 deletions MapTour/src/app/storymaps/ui/header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,28 +208,14 @@ define(["storymaps/ui/inlineFieldEdit/InlineFieldEdit",

function shareFacebook()
{
var options = '&p[title]=' + encodeURIComponent($(selector + ' #headerMobile .title').text())
+ '&p[summary]=' + encodeURIComponent($(selector + ' #headerMobile .subtitle').text())
+ '&p[url]=' + cleanURL(document.location.href);
var url = cleanURL(document.location.href);

if ( $(this).hasClass("disabled") ) {
return;
}

var counter = 0;
// TODO: make multiple images works
/*if ($("meta[property='og:image']").attr("content")) {
options += '&p[images][' + counter + ']=' + encodeURIComponent($("meta[property='og:image']").attr("content"));
counter++;
}*/

$(".carousel-item-div img").slice(0, 1).each(function(i, img){
options += '&p[images][' + counter + ']=' + encodeURIComponent($(img).attr('src'));
counter++;
});

window.open(
'http://www.facebook.com/sharer.php?s=100' + options,
'http://www.facebook.com/sharer/sharer.php?u=' + url,
'',
'toolbar=0,status=0,width=626,height=436'
);
Expand Down
9 changes: 5 additions & 4 deletions MapTour/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
To correctly reference your Map Tour in search engine:
- create and fill out extensively an ArcGIS.com item that link to your final application
- edit the following four tags as well as the upper title tag on line 4
- see https://developerscorner.storymaps.arcgis.com/grow-your-story-maps-audience-with-open-graph-tags-b7639cb65d5c
-->
<meta name="description" content="This story map was created with the Esri Map Tour application in ArcGIS Online.">

Expand Down Expand Up @@ -69,7 +70,7 @@
</script>

<script type="text/javascript">
var version = '2.5.0';
var version = '2.5.1';
var isProduction = false;

function loadJS(url, isExternal)
Expand All @@ -96,8 +97,8 @@
document.getElementsByTagName("head")[0].appendChild(el);
}

loadCSS("//js.arcgis.com/3.16/esri/css/esri.css", true);
loadCSS("//js.arcgis.com/3.16/dijit/themes/claro/claro.css", true);
loadCSS("//js.arcgis.com/3.17/esri/css/esri.css", true);
loadCSS("//js.arcgis.com/3.17/dijit/themes/claro/claro.css", true);

if( isProduction ) {
loadCSS("app/maptour-min.css");
Expand Down Expand Up @@ -1184,7 +1185,7 @@ <h3></h3>
</div>

<script type="text/javascript">
loadJS('//js.arcgis.com/3.16/init.js', true);
loadJS('//js.arcgis.com/3.17/init.js', true);
loadJS('app/maptour-config.js');

function getUrlVar(name)
Expand Down
1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/ar/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/cs/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/da/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/de/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/el/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/es/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/et/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/fi/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/fr/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/he/template.js

Large diffs are not rendered by default.

548 changes: 548 additions & 0 deletions MapTour/src/resources/nls/hr/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/it/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/ja/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/ko/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/lt/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/lv/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/nb/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/nl/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/pl/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/pt-br/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/pt-pt/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/ro/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/ru/template.js

Large diffs are not rendered by default.

548 changes: 548 additions & 0 deletions MapTour/src/resources/nls/sr/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/sv/template.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions MapTour/src/resources/nls/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ define({
"fi": 1,
"fr": 1,
"he": 1,
"hr": 1,
"it": 1,
"ja": 1,
"ko": 1,
Expand All @@ -569,6 +570,7 @@ define({
"pt-pt": 1,
"ro": 1,
"ru": 1,
"sr": 1,
"sv": 1,
"th": 1,
"tr": 1,
Expand Down
1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/th/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/tr/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/vi/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/zh-cn/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/zh-hk/template.js

Large diffs are not rendered by default.

1,098 changes: 548 additions & 550 deletions MapTour/src/resources/nls/zh-tw/template.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The Story Map Tour app is ideal when you want to present a linear, place-based n
[Map Tour page on Esri Story Maps website](http://storymaps.arcgis.com/en/app-list/map-tour/) |
[Download](http://links.esri.com/storymaps/map_tour_template_zip)

**Latest release is version 2.5.0**, if you want to be informed of new releases, we recommend you to watch these repository ([see GitHub help](https://help.github.com/articles/watching-repositories)).
**Latest release is version 2.5.1**, if you want to be informed of new releases, we recommend you to watch these repository ([see GitHub help](https://help.github.com/articles/watching-repositories)).
See the [release page](https://github.com/Esri/map-tour-storytelling-template-js/releases) for release notes.

For more infomation about using and customizing Esri's Storytelling Apps follow the [Story Maps Developers' Corner](https://developerscorner.storymaps.arcgis.com).
Expand Down

0 comments on commit b89191f

Please sign in to comment.