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
ADC.Tool.ZoomTo = function() { | |
var doc = document, | |
defaultValue = "i.e. City, State, ZIP code", | |
geocoder, input, map = ADC.Map.getMap(), | |
pointFeature, urlBase = "http://rs1.adc4gis.com/img/icons/other/"; | |
var vector = new OpenLayers.Layer.Vector("Zoom To"); | |
map.addLayer(vector); | |
map.setLayerIndex(vector, 0); | |
function plotLocation(coords, zoom, location) { |
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
using System; | |
using MonoTouch.UIKit; | |
using MonoTouch.Foundation; | |
using System.Drawing; | |
namespace TwinCoders.Utils | |
{ | |
public abstract partial class ParentViewController | |
{ |
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
// **************************************************************************** | |
// <copyright file="Extensions.cs" company="GalaSoft Laurent Bugnion"> | |
// Copyright © GalaSoft Laurent Bugnion 2009-2014 | |
// </copyright> | |
// **************************************************************************** | |
// <author>Laurent Bugnion</author> | |
// <email>[email protected]</email> | |
// <date>18.03.2014</date> | |
// <project>GalaSoft.MvvmLight</project> | |
// <web>http://www.galasoft.ch</web> |
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
////https://github.com/oysteinkrog/SQLite.Net-PCL/issues/25 | |
////http://developer.nokia.com/community/wiki/How_to_use_SQLite_in_Windows_Phone | |
////https://www.mail-archive.com/[email protected]/msg82665.html | |
////http://andywigleyblog.azurewebsites.net/?tag=windows-8-1 | |
var sqLiteConnectionFactory = SimpleIoc.Default.GetInstance<ISQLiteConnectionFactory>(); | |
var tempStoreDirectoryQuery = string.Format("PRAGMA temp_store_directory = '{0}';", | |
ApplicationData.Current.LocalFolder.Path); | |
var sqLiteConnection = sqLiteConnectionFactory.GetConnection(); | |
sqLiteConnection.Execute(tempStoreDirectoryQuery); |
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
using System; | |
using System.Net; | |
using System.Linq; | |
using System.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Documents; | |
using System.Windows.Ink; | |
using System.Windows.Input; | |
using System.Windows.Media; | |
using System.Windows.Media.Animation; |
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
using System; | |
namespace Gooroovster.Core.Common | |
{ | |
[Flags] | |
public enum BindingFlags | |
{ | |
None = 0, | |
Instance = 1, | |
Public = 2, |
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
using System; | |
using System.Reflection; | |
namespace SharpSerializer | |
{ | |
public static class ExtensionMethods | |
{ | |
public static PropertyInfo GetProperty(this Type type, String propertyName) | |
{ | |
return type.GetTypeInfo().GetDeclaredProperty(propertyName); |
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
#region | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using SQLitePCL; | |
#endregion |
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
using System; | |
using MonoTouch.UIKit; | |
using MonoTouch.Foundation; | |
using System.Drawing; | |
namespace TwinCoders.Utils | |
{ | |
public abstract partial class ParentViewController | |
{ |