Skip to content

Instantly share code, notes, and snippets.

View tmcw's full-sized avatar
💭
merging your prs

Tom MacWright tmcw

💭
merging your prs
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
var map = L.mapbox.map('map', 'benefit.hn7165pm', {zoomControl: false})
.setView([-20.1908, -67.5893], 3);
var geoJson = {
type: 'FeatureCollection',
features: [
{
type: 'Feature',
geometry: {

Creating a Map

// Google
var map = new google.maps.Map(document.getElementById('map_canvas'), {
  center: new google.maps.LatLng(51.505, -0.09),
  zoom: 8,
  mapTypeId: google.maps.MapTypeId.ROADMAP
});
var map = L.mapbox.map('map', 'XXX', {zoomControl: false})
.setView([-20.1908, -67.5893], 3);
var geoJson = {
type: 'FeatureCollection',
features: [
{
type: 'Feature',
geometry: {
D/AndroidRuntime(12065):
D/AndroidRuntime(12065): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(12065): CheckJNI is OFF
D/dalvikvm(12065): Trying to load lib libjavacore.so 0x0
D/dalvikvm(12065): Added shared lib libjavacore.so 0x0
D/dalvikvm(12065): Trying to load lib libnativehelper.so 0x0
D/dalvikvm(12065): Added shared lib libnativehelper.so 0x0
D/dalvikvm(12065): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
D/dalvikvm(12065): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods
D/AndroidRuntime(12065): Calling main entry com.android.commands.pm.Pm
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Brute-force find which ASCII characters are used in polyline encodings, because I was too tired to think harder.