Commit Graph

21 Commits

Author SHA1 Message Date
Rolf Sommerhalder
9344299298 Set planetaryjs global when using AMD
While using RequireJS to AMD load ng-planetaryjs, planetaryjs, and their
dependencies, ng-planetaryjs still looks for global object planetaryjs
(such as in `var globe = planetaryjs.planet();`). Thus use the UMD
pattern "AMD with global, Node, or global" instead of "AMD, Node, or
browser global" from https://sublime.wbond.net/packages/UMD%20snippets
2014-05-18 10:32:26 -07:00
Brandon Tilley
4edb647564 (core) Add stop method 2014-02-03 00:13:37 -08:00
Brandon Tilley
62e8d08bd9 (core) Don't disable adaptive resampling on the projection 2014-01-22 20:43:26 -08:00
Brandon Tilley
aa69976987 (topojson) Recreate world-110m.json with topojson utility to decrease file size 2013-12-26 15:27:11 -08:00
Brandon Tilley
2fe52ec148 (drag, zoom): Expose planet instance as this in event callbacks 2013-12-24 21:54:33 -08:00
Brandon Tilley
c69f749747 (core): Fix load order of global plugins 2013-12-24 21:19:28 -08:00
Brandon Tilley
54f75ff627 zoom plugin's initialScale can be set to 0 2013-12-24 08:29:01 -08:00
Brandon Tilley
deb0caff44 Add jshint and gulp task; implement hints 2013-12-24 08:28:19 -08:00
Brandon Tilley
ef285150ee Reverse the order of lat and lng parameters of the add method of the pings plugin 2013-12-23 22:08:03 -08:00
Brandon Tilley
ab92e0a472 Add afterZoom and afterDrag hooks to the zoom and drag plugins 2013-12-23 14:57:00 -08:00
Brandon Tilley
823a938a4b Add the 'drag' and 'zoom' plugins 2013-12-22 13:59:41 -08:00
Brandon Tilley
626d01c2d7 Allow default configuration options to be passed to the pings plugin 2013-12-21 23:33:39 -08:00
Brandon Tilley
4bb0202bc9 Add the type configuration option to the borders plugin 2013-12-21 23:11:24 -08:00
Brandon Tilley
069f4c4901 Add the lineWidth configuration option to the land and borders plugins 2013-12-21 23:03:05 -08:00
Brandon Tilley
321822f983 Remove the 'stroke' configuration option from the 'oceans' plugin 2013-12-21 22:45:19 -08:00
Brandon Tilley
4563d9bda4 Change topojson plugin to store on planet.plugins.topojson 2013-12-21 20:29:31 -08:00
Brandon Tilley
936ca3ccd3 Explose plugin data on planet.plugins 2013-12-21 14:38:06 -08:00
Brandon Tilley
9d91e43cf3 Implement site with actual library 2013-12-21 12:06:57 -08:00
Brandon Tilley
4102091a50 Fix broken plugins; add pings plugin; refactor core code 2013-12-21 11:01:39 -08:00
Brandon Tilley
aa6a20e5df Include world-110m.json in source and built output 2013-12-21 00:12:45 -08:00
Brandon Tilley
d9e6594ac4 First pass at implementation 2013-12-20 23:58:16 -08:00