Source Code for Me (s-c.me)

Allows you to paste souce code to blogs! Adapted for Twitter! Here is Search Form in case you missed your code.
Code:
Selected Language:
Show Linenumbers:
Short link for Twitter:
HTML:

HTML view:

Copy Source | Copy HTML
  1. <article class="nobackground">
  2.           <h3>Style in Code - new!</h3>
  3.   <iframe src="http://code.google.com/apis/maps/documentation/javascript/examples/layer-fusiontables-styling.html"></iframe>
  4.   </article>
  5.                 <article class="nobackground">
  6.                     <pre>
  7. ... var australia = new google.maps.LatLng(-25, 133);
  8.       map = ...
  9.       layer = new google.maps.FusionTablesLayer({
  10.         query: {
  11.           select: 'geometry',
  12.           from: '815230'
  13.         },
  14.         styles: [{
  15.           polygonOptions: {
  16.             fillColor: "#00FF00",
  17.             fillOpacity: 0.3
  18.           }
  19.         }, {
  20.           where: "birds > 300",
  21.           polygonOptions: {
  22.             fillColor: "#0000FF"
  23.           }
  24.         }, {
  25.           where: "population > 5",
  26.           ...});
  27.       layer.setMap(map);</pre>
  28.     </article>




Based on Manoli.Net's CodeFormatter. Made by Topbot (c) 2008-2017