Difference between revisions of "User:Dseifried/osd600"

From CDOT Wiki
Jump to: navigation, search
(GoogleMaps Documentation)
(0.3 Release)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=OSD600=
 
=OSD600=
==GoogleMaps Documentation==
 
  
===Name===
+
==0.1 Release==
googlemap
+
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/70-google-maps-street-view Google Maps Streetview]<br />
 +
[https://processing-js.lighthouseapp.com/projects/41284/tickets/868-missing-string-function-097-codepointat Missing String Function codePointAt()]<br />
  
===Examples===
+
==0.2 Release==
<pre>
+
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/342-create-a-blog-reader-plugin Blog Reader Plugin]<br />
var p = Popcorn('#video')
+
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/339-pause-the-video-when-external-links-are-clicked Pause Video when link is clicked]<br />
      .volume(0)
+
The above was originally mine, but the a new ticket was created, which edsfault picked up. I then took on another ticket:<br />
      .play()
+
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/384-enable-timeline-syncronized-html-printout Enable timeline synchronized events]<br />
      .googlemap({
+
==0.3 Release==
        start: 0, // seconds
+
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/66-live-video-twitter-mashup Video Twitter Mashup demo]<br />
        end: 20, // seconds
+
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/476-youtube-player-fetch-subtitles-from-youtube Fetch youtube player subtitles]<br />
        type: "ROADMAP",
 
        target: "map",
 
        lat: 43.665429,
 
        lng: -79.403323,
 
        zoom: "10"
 
      } )
 
</pre>
 
<pre>
 
.googlemap({
 
        start: 0, // seconds
 
        end: 20, // seconds
 
        type: "STREETVIEW",
 
        target: "map1",
 
        lat: 43.665429,
 
        lng: -79.403323,
 
        zoom: "1",
 
        heading: "0",
 
        pitch: "1"
 
      } );
 
</pre>
 
<pre>
 
.googlemap({
 
        start: 0, // seconds
 
        end: 30, // seconds
 
        type: "ROADMAP",
 
        target: "map2",
 
        location:"boston",
 
        zoom: 15
 
      } );
 
</pre>
 
  
===Description===
+
==Bugs Filed & other contributions==
Adds a map to the target div centered on the location specified by the user. Options parameter will need a start, end, target, and either a lat and lng or a location. Additional optional parameters are zoom, type, and for Streetview heading and pitch.
+
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/399-pausing-the-video-when-a-link-is-clicked-should-be-a-plugin Pause video when link is clicked should be a feature]<br />
 +
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/435-popcornjs-subtitles-dead Attempted to help someone with a problem]<br />
 +
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/432-plugins-failing-when-end-is-not-specified Plugins failing when end is not specified]<br />
 +
[https://webmademovies.lighthouseapp.com/projects/63272/tickets/429-allow-content-to-remain-after-ended Allow content to remain after ended]<br />
 +
[https://processing-js.lighthouseapp.com/projects/41284/tickets/1003-fill-with-bbccff-or-0xbbccffaa-does-not-work Established first bug was invalid]<br />
  
===Syntax===
+
==Other Stuff==
<pre>
+
[[Popcorn.js Googlemap Documentation]]<br />
googlemap({
+
[http://dseifried.wordpress.com/2011/04/06/finally-firefox-source-manipulation/ Firefox tab and alt key modification]<br />
        start:
+
[http://www.google.ca Firefox Bug unit tests]<br />
        end:
+
[http://dseifried.wordpress.com/2011/01/21/building-firefox/ Building Firefox]<br />
        type:
+
[http://dseifried.wordpress.com/2011/04/07/firefox-remote-building-use-xming-and-putty/ Remote Firefox Building with Xming and Putty]<br />
        target:
+
===My Blog===
        lat:
+
[http://www.dseifried.wordpress.com Blog]
        lng:
+
===Twitter Account===
      } );
+
[http://twitter.com/dcseifried Twitter]
</pre>
 
 
 
OR
 
<pre>
 
googlemap({
 
        start:
 
        end:
 
        type:
 
        target:
 
        location:
 
      } );
 
</pre>
 
 
 
===Parameters===
 
 
 
'''Start:'''        is the time that you want this plug-in to execute (Int)<br/>
 
'''End:'''          is the time that you want this plug-in to stop executing (Int)<br/>
 
'''Target:'''        is the id of the DOM element that you want the map to appear in. This element must be in the DOM (String)<br/>
 
'''Lat and Lang:'''  the coordinates of the map must be present if location is not specified. (Int)<br/>
 
'''Location:'''      the address you want the map to display, bust be present if lat and log are not specified. (String)<br/>
 
'''Type:'''          [optional] either: HYBRID (default), ROADMAP, SATELLITE, TERRAIN, STREETVIEW (String)<br/>
 
'''Zoom:'''          [optional] defaults to 0 (Int)<br/>
 
'''Heading:'''      [optional] STREETVIEW orientation of camera in degrees relative to true north (0 north, 90 true east, ect)<br/>
 
'''Pitch:'''        [optional] STREETVIEW vertical orientation of the camera (between 1 and 3 is recommended)<br/>
 
 
 
===Returns===
 
None
 

Latest revision as of 23:05, 20 April 2011