Difference between revisions of "User:Dseifried/osd600"

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

Latest revision as of 23:05, 20 April 2011