This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.sectionPanel .title, .sectionPanel .appTitle, #mobileView .title{ | |
font-family: 'Oswald', sans-serif; | |
} | |
.sectionPanel .content, #mobileView .content{ | |
font-family: 'Lora', serif; | |
} | |
.sectionPanel .content strong, #mobileView .content strong{ | |
font-family: 'Lora', serif; | |
font-weight: bold; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
// Get the full url to the app so we can load the readmore.js file | |
var path = location.pathname.replace(/\/[^/]+$/, '/'); | |
// require Readmore.js and app events | |
require(["dojo/topic", path + "app/readmore.min.js"], function(topic) { | |
// After each point change, call readmore on the description pane | |
topic.subscribe("maptour-point-change-after", function(){ | |
$('.description').readmore({ | |
collapsedHeight: 10, | |
blockCSS: 'float: left; padding: 10px;' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="index-map"> | |
<p id="index-map-info"></p> | |
<div id="index-map-helper" class="active"> | |
<!-- Helper Tooltip text to show until user first clicks on the map --> | |
Click a park to explore | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#index-map{ | |
position: relative; | |
width: 100%; | |
height: 25%; | |
max-height: 400px; | |
min-height: 200px; | |
margin-bottom: 2px; | |
} | |
.sectionPanel .appTitle.anchored{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Loading all required dojo and esri modules used in index map | |
require([ | |
'dojo/topic', | |
'dojo/_base/array', | |
'dojo/dom-geometry', | |
'esri/map', | |
'esri/layers/CSVLayer', | |
'esri/Color', | |
'esri/symbols/SimpleMarkerSymbol', | |
'esri/renderers/UniqueValueRenderer', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"> | |
<title>Load a basic WebMap - 4.1</title> | |
<style> | |
html, | |
body, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"brand": { | |
"primary": "#ff9f08", | |
"secondary":"#4fff00" , | |
"gray": "#4c4c4c" | |
}, | |
"text":{ | |
"color": "#ffffff" | |
}, | |
"logo": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
show: function () { | |
domStyle.set(this.likeButton, 'display', this.actionVisibilities.showVotes ? 'inline-block' : 'none'); | |
domStyle.set(this.commentButton, 'display', this.actionVisibilities.showComments ? 'inline-block' : 'none'); | |
domStyle.set(this.galleryButton, 'display', 'none'); | |
domStyle.set(this.domNode, 'display', ''); | |
if (this.actionVisibilities.showGallery) { | |
if (domClass.contains(self.gallery, "esriCTHidden")) { | |
self._showAttachments(self.item); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
const PersonArray = Ember.Object.extend({ | |
shoppingList: ['eggs', 'cheese'] | |
}); | |
const a = PersonArray.create({ | |
name: 'Stefan Penner', | |
addItem() { | |
this.get('shoppingList').pushObject('bacon'); |
OlderNewer