<flickr in="00:00:41:00" out="00:01:07:09" target="personalflickr" userid="35034346917@N01" numberofimages="8" padding="4px"/>
<twitter in="00:00:41:00" out="00:01:07:09" title="Oil Spill" src="#oilspill" target="twitter" width="238" height="120"/>
<googlenews in="00:00:41:00" out="00:01:07:09" target="googlenewsdiv" topic="Oil Spill"/>
- <googlemap resourceid="grandislewiki" in="00:00:41:00" out="00:01:07:09" lat="29.2720" long="-90.0233 " target="container2" zoom="8"/>
+ <googlemap resourceid="grandislewiki" in="00:00:41:00" out="00:01:07:09" lat="29.2720" lng="-90.0233 " target="container2" zoom="8"/>
<wikipedia in="00:00:41:00" out="00:01:07:09" resourceid="oilspill" numberofwords="200" target="wikidiv"/>
<footnote in="00:00:41:00" out="00:01:07:09" target="footnotediv">Learn more about Grass Roots mapping at www.grassrootsmapping.org</footnote>
<twitter in="00:01:07:10" out="00:01:25:07" title="Steve Song" src="@stevesong" target="personaltwitter" width="238" height="120"/>
<flickr in="00:01:07:10" out="00:01:25:07" target="personalflickr" userid="78868639@N00" numberofimages="8" padding="4px"/>
- <googlemap id="CapeTown" resourceid="capetownwiki" in="00:01:07:10" out="00:01:32:07" lat="-33.9238" long="18.4233" target="container2" zoom="8"/>
+ <googlemap id="CapeTown" resourceid="capetownwiki" in="00:01:07:10" out="00:01:32:07" lat="-33.9238" lng="18.4233" target="container2" zoom="8"/>
<wikipedia in="00:01:07:10" out="00:01:32:07" resourceid="villagetelco" numberofwords="200" target="wikidiv"/>
<tagthisperson target="inthisvideo" in="00:01:25:08" out="00:01:32:07" person="Michael Adeyeye" />
<tagthisperson target="inthisvideo" in="00:01:32:08" out="00:01:38:02" person="Charlie Schmidt" />
<twitter in="00:01:32:08" out="00:01:57:11" title="Charlie Schmidt" src="@chuckieart" target="personaltwitter" width="238" height="120"/>
- <googlemap id="MITMediaLab" resourceid="mitmedialabhome" in="00:01:32:08" out="00:01:57:11" lat="42.3613" long="-71.0863" target="container2" zoom="12"/>
+ <googlemap id="MITMediaLab" resourceid="mitmedialabhome" in="00:01:32:08" out="00:01:57:11" lat="42.3613" lng="-71.0863" target="container2" zoom="12"/>
<tagthisperson target="inthisvideo" in="00:01:38:02" out="00:01:41:10" person="Keyboard Cat" />
<tagthisperson target="inthisvideo" in="00:01:41:11" out="00:01:57:11" person="Charlie Schmidt" />
<tagthisperson target="inthisvideo" in="00:02:09:00" out="00:03:07:05" person="Jonathan Zittrain" />
<twitter in="00:02:09:00" out="00:03:07:05" title="Jonathan Zittrain" source="@zittrain" target="personaltwitter" width="238" height="120"/>
- <googlemap resourceid="harvardlawhome" in="00:02:09:00" out="00:03:07:05" lat="42.4222" long="-88.6137" target="container2" zoom="12"/>
+ <googlemap resourceid="harvardlawhome" in="00:02:09:00" out="00:03:07:05" lat="42.4222" lng="-88.6137" target="container2" zoom="12"/>
<wikipedia in="00:02:09:00" out="00:02:20:00" resourceid="zittrain" numberofwords="200" target="wikidiv"/>
<wikipedia in="00:02:20:01" out="00:02:23:00" resourceid="compuserve" numberofwords="200" target="wikidiv"/>
<wikipedia in="00:02:23:01" out="00:02:26:00" resourceid="aol" numberofwords="200" target="wikidiv"/>
</resources>
<map>
- <googlemap resourceid="capetownwiki" in="00:00:03:00" out="00:00:11:07" lat="-33.9238" long="18.4233" target="container2" zoom="8"/>
- <googlemap resourceid="grandislewiki" in="00:00:11:07" out="00:00:19:07" lat="29.2720" long="-90.0233" target="container2" zoom="8"/>
- <googlemap resourceid="mitmedialabhome" in="00:00:19:08" out="00:00:27:00" lat="42.3613" long="-71.0863" target="container2" zoom="12"/>
+ <googlemap resourceid="capetownwiki" in="00:00:03:00" out="00:00:11:07" lat="-33.9238" lng="18.4233" target="container2" zoom="8"/>
+ <googlemap resourceid="grandislewiki" in="00:00:11:07" out="00:00:19:07" lat="29.2720" lng="-90.0233" target="container2" zoom="8"/>
+ <googlemap resourceid="mitmedialabhome" in="00:00:19:08" out="00:00:27:00" lat="42.3613" lng="-71.0863" target="container2" zoom="12"/>
- <googlemap resourceid="austinwiki" in="00:03:59:00" out="00:04:03:05" lat="45.5089" long="-73.5542" target="container2" zoom="8"/>
- <googlemap resourceid="newyorkwiki" in="00:04:03:06" out="00:04:07:01" lat="40.7143" long="-74.0060" target="container2" zoom="8"/>
- <googlemap resourceid="saopaulowiki" in="00:04:07:02" out="00:04:13:01" lat="-23.5489" long="-46.6388 " target="container2" zoom="8"/>
- <googlemap resourceid="seoulwiki" in="00:04:13:02" out="00:04:19:05" lat="37.5665" long="126.9780" target="container2" zoom="8"/>
- <googlemap resourceid="montrealwiki" in="00:04:19:06" out="00:04:24:01" lat="45.5089" long="-73.5542 " target="container2" zoom="8"/>
+ <googlemap resourceid="austinwiki" in="00:03:59:00" out="00:04:03:05" lat="45.5089" lng="-73.5542" target="container2" zoom="8"/>
+ <googlemap resourceid="newyorkwiki" in="00:04:03:06" out="00:04:07:01" lat="40.7143" lng="-74.0060" target="container2" zoom="8"/>
+ <googlemap resourceid="saopaulowiki" in="00:04:07:02" out="00:04:13:01" lat="-23.5489" lng="-46.6388 " target="container2" zoom="8"/>
+ <googlemap resourceid="seoulwiki" in="00:04:13:02" out="00:04:19:05" lat="37.5665" lng="126.9780" target="container2" zoom="8"/>
+ <googlemap resourceid="montrealwiki" in="00:04:19:06" out="00:04:24:01" lat="45.5089" lng="-73.5542 " target="container2" zoom="8"/>
</map>
<subtitles languagesrc="language" accessibilitysrc="accessibility">
"target":"map-container",
"type":"ROADMAP",
"lat":37.7749295,
- "long":-122.4194155,
+ "lng":-122.4194155,
"location":"San Francisco, CA"
}
},
type: 'ROADMAP',
target: 'map',
lat: 43.665429,
- long: -79.403323,
+ lng: -79.403323,
zoom: "10"
} )
.googlemap({
/**
* googlemap popcorn plug-in
* Adds a map to the target div centered on the location specified by the user
- * Options parameter will need a start, end, target, type, zoom, lat and long, and location
+ * Options parameter will need a start, end, target, type, zoom, lat and lng, and location
* -Start is the time that you want this plug-in to execute
* -End is the time that you want this plug-in to stop executing
* -Target is the id of the DOM element that you want the map to appear in. This element must be in the DOM
* -Type [optional] either: HYBRID (default), ROADMAP, SATELLITE, TERRAIN
* -Zoom [optional] defaults to 0
- * -Lat and Long: the coordinates of the map must be present if location is not specified.
+ * -Lat and Lng: the coordinates of the map must be present if location is not specified.
* -Location: the adress you want the map to display, bust be present if lat and log are not specified.
- * Note: using location requires extra loading time, also not specifying both lat/long and location will
+ * Note: using location requires extra loading time, also not specifying both lat/lng and location will
* cause and error.
* @param {Object} options
*
type: 'ROADMAP',
target: 'map',
lat: 43.665429,
- long: -79.403323
+ lng: -79.403323
} )
*
*/
type : {elem:'select', options:['ROADMAP','SATELLITE', 'HYBRID', 'TERRAIN'], label:'Type'},
zoom : {elem:'input', type:'text', label:'Zoom'},
lat : {elem:'input', type:'text', label:'Lat'},
- long : {elem:'input', type:'text', label:'Long'},
+ lng : {elem:'input', type:'text', label:'Lng'},
location : {elem:'input', type:'text', label:'Location'}
}
},
googleCallback = function() {
_mapLoaded = true;
};
- // If there is no lat/long, and there is location, geocode the location
+ // If there is no lat/lng, and there is location, geocode the location
// you can only do this once google.maps exists
var isGeoReady = function() {
if ( !_mapLoaded ) {
geocoder.geocode({ 'address': options.location}, function(results, status) {
if (status === google.maps.GeocoderStatus.OK) {
options.lat = results[0].geometry.location.lat();
- options.long = results[0].geometry.location.lng();
- options._location = new google.maps.LatLng(options.lat, options.long);
+ options.lng = results[0].geometry.location.lng();
+ options._location = new google.maps.LatLng(options.lat, options.lng);
options._map = new google.maps.Map(options._newdiv, {mapTypeId: google.maps.MapTypeId[options.type] || google.maps.MapTypeId.HYBRID });
options._map.getDiv().style.display = 'none';
}
});
} else {
- options._location = new google.maps.LatLng(options.lat, options.long);
+ options._location = new google.maps.LatLng(options.lat, options.lng);
options._map = new google.maps.Map(options._newdiv, {mapTypeId: google.maps.MapTypeId[options.type] || google.maps.MapTypeId.HYBRID });
options._map.getDiv().style.display = 'none';
}
type: 'ROADMAP',
target: 'map',
lat: 43.665429,
- long: -79.403323,
+ lng: -79.403323,
zoom: 10
} )
.googlemap({
mapInterval3 = setInterval( function() {
if( popped.currentTime() > 5 ) {
ok (document.getElementById('actualmap2').style.display === "none" &&
- document.getElementById('actualmap1').style.display === "none", "Both maps are no longer visible" );
+ document.getElementById('actualmap1').style.display === "none", "Both maps are no lnger visible" );
plus();
clearInterval( mapInterval3 );
}