This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var groups = [ | |
| {name:"European",value:2949.0 }, | |
| {name:"Asian",value:924.0 }, | |
| {name:"Pacific",value:99.0 }, | |
| {name:"M\u0101ori",value:255.0 }, | |
| {name:"MELAA",value:87.0 }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #map img{ | |
| max-width: none; | |
| } | |
| #map label { | |
| width: auto; | |
| display:inline; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Streetview Annotation</title> | |
| <link type='text/css' rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.css" /> | |
| <style type="text/css"> | |
| #mapdiv{ | |
| position: absolute; | |
| top: 0; | |
| bottom: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Ext.define('App.model.Address', { | |
| extend: 'Ext.data.Model', | |
| config: { | |
| fields: [ | |
| { | |
| name: 'a' | |
| }, { | |
| name: 'pxid' | |
| }, { | |
| name: 'v' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source "https://rubygems.org" | |
| gem "therubyracer" | |
| gem "guard" | |
| gem "guard-coffeescript" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title></title> | |
| <meta name="description" content=""> | |
| <meta name="viewport" content="width=device-width"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| html{ | |
| background: #f06; | |
| background: linear-gradient(45deg, #f06, yellow); | |
| min-height:100%; | |
| } | |
| .hello{ | |
| display:inline-block; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $("#ac_me").autocomplete({ | |
| source: function( request, response ) { | |
| $.getJSON("http://api.addressfinder.co.nz/search/location?callback=?", | |
| {q:request.term,key:"YOUR-API-KEY"}, | |
| function( data ) { | |
| response( $.map( data.results, function( item ) { | |
| return { | |
| label: item.a, | |
| pxid: item.pxid | |
| } |
NewerOlder