├── .editorconfig
├── .gitattributes
├── .gitignore
├── Demo
├── Demo.AvaloniaUi
│ ├── App.axaml
│ ├── App.axaml.cs
│ ├── Demo.AvaloniaUi.csproj
│ ├── MainWindow.axaml
│ ├── MainWindow.axaml.cs
│ ├── Program.cs
│ └── nuget.config
├── Demo.WindowsForms
│ ├── CustomMarkers
│ │ ├── GMapMarkerCircle.cs
│ │ ├── GMapMarkerRect.cs
│ │ └── GMarkerArrow.cs
│ ├── Demo.WindowsForms.csproj
│ ├── Forms
│ │ ├── MainForm.Designer.cs
│ │ ├── MainForm.cs
│ │ ├── MainForm.resx
│ │ ├── Message.Designer.cs
│ │ ├── Message.cs
│ │ ├── Message.resx
│ │ ├── StaticImage.Designer.cs
│ │ ├── StaticImage.cs
│ │ └── StaticImage.resx
│ ├── Properties
│ │ ├── Resources.Designer.cs
│ │ └── Resources.resx
│ ├── Resources
│ │ └── ImageReady.ico
│ ├── Source
│ │ ├── DemoStuff.cs
│ │ ├── Map.cs
│ │ ├── Program.cs
│ │ └── SQLiteIpCache.cs
│ └── leafletjs
│ │ ├── gmap-lt.html
│ │ └── gmap.html
├── Demo.WindowsPresentation
│ ├── Controls
│ │ ├── TrolleyTooltip.xaml
│ │ └── TrolleyTooltip.xaml.cs
│ ├── CustomMarkers
│ │ ├── Circle.xaml
│ │ ├── Circle.xaml.cs
│ │ ├── CircleVisual.cs
│ │ ├── Cross.xaml
│ │ ├── Cross.xaml.cs
│ │ ├── CustomMarkerDemo.xaml
│ │ ├── CustomMarkerDemo.xaml.cs
│ │ ├── CustomMarkerRed.xaml
│ │ ├── CustomMarkerRed.xaml.cs
│ │ ├── Test.xaml
│ │ ├── Test.xaml.cs
│ │ ├── bigMarkerGreen.png
│ │ └── red-dot.png
│ ├── Demo.WindowsPresentation.csproj
│ ├── Resources
│ │ ├── ImageReady.ico
│ │ ├── zoom+.png
│ │ └── zoom-.png
│ ├── Source
│ │ ├── App.cs
│ │ └── Map.cs
│ └── Windows
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Message.xaml
│ │ └── Message.xaml.cs
└── References
│ └── Web
│ └── LeafletJS
│ ├── images
│ ├── layers.png
│ ├── locate.png
│ ├── locate.svg
│ ├── locate_active.png
│ ├── marker-icon.png
│ ├── marker-icon@2x.png
│ ├── marker-shadow.png
│ └── spinner.gif
│ ├── leaflet-ie.css
│ ├── leaflet.css
│ ├── leaflet.js
│ ├── locate-ie.css
│ ├── locate.css
│ ├── locate.js
│ ├── mobile.css
│ ├── proj4js-compressed.js
│ └── proj4leaflet.js
├── Directory.Build.props
├── GMap.NET.sln
├── GMap.NET
├── GMap.NET.Avalonia
│ ├── GMap.NET.Avalonia.csproj
│ ├── GMapControl.cs
│ ├── GMapImage.cs
│ ├── GMapMarker.cs
│ ├── GMapPolygon.cs
│ ├── GMapRoute.cs
│ ├── TransformHelper.cs
│ └── nuget.config
├── GMap.NET.Core
│ ├── AccessMode.cs
│ ├── CacheProviders
│ │ ├── MSSQLPureImageCache.cs
│ │ ├── MemoryCache.cs
│ │ ├── MsSQLCePureImageCache.cs
│ │ ├── MySQLPureImageCache.cs
│ │ ├── PostgreSQLPureImageCache.cs
│ │ └── SQLitePureImageCache.cs
│ ├── Delegates.cs
│ ├── DirectionsProvider.cs
│ ├── Entity
│ │ ├── OpenStreemMapProviderStruct.cs
│ │ └── OpenStreetMapGraphHopperStruct.cs
│ ├── Extensions.cs
│ ├── GDirections.cs
│ ├── GMap.NET.Core.csproj
│ ├── GMap.NET.Core.csproj.DotSettings
│ ├── GMaps.cs
│ ├── GPoint.cs
│ ├── GRect.cs
│ ├── GSize.cs
│ ├── GeocodingProvider.cs
│ ├── GpsLog.cs
│ ├── Interface.cs
│ ├── Internals
│ │ ├── Cache.cs
│ │ ├── CacheQueueItem.cs
│ │ ├── Core.cs
│ │ ├── DrawTile.cs
│ │ ├── FastReaderWriterLock.cs
│ │ ├── FastResourceLock.cs
│ │ ├── KiberTileCache.cs
│ │ ├── LoadTask.cs
│ │ ├── PureImage.cs
│ │ ├── RawTile.cs
│ │ ├── SocksProxySocket
│ │ │ ├── AuthMethod.cs
│ │ │ ├── AuthNone.cs
│ │ │ ├── AuthUserPass.cs
│ │ │ ├── IAsyncProxyResult.cs
│ │ │ ├── ProxyException.cs
│ │ │ ├── ProxySocket.cs
│ │ │ ├── Socks4Handler.cs
│ │ │ ├── Socks5Handler.cs
│ │ │ ├── SocksHandler.cs
│ │ │ └── SocksHttpWebRequest.cs
│ │ ├── Stuff.cs
│ │ ├── Tile.cs
│ │ ├── TileHttpHost.cs
│ │ └── TileMatrix.cs
│ ├── LanguageType.cs
│ ├── MapProviders
│ │ ├── ArcGIS
│ │ │ ├── ArcGIS_DarbAE_Q2_2011_NAVTQ_Eng_V5_MapProvider.cs
│ │ │ ├── ArcGIS_Imagery_World_2D_MapProvider.cs
│ │ │ ├── ArcGIS_ShadedRelief_World_2D_MapProvider.cs
│ │ │ ├── ArcGIS_StreetMap_World_2D_MapProvider.cs
│ │ │ ├── ArcGIS_Topo_US_2D_MapProvider.cs
│ │ │ ├── ArcGIS_World_Physical_MapProvider.cs
│ │ │ ├── ArcGIS_World_Shaded_Relief_MapProvider.cs
│ │ │ ├── ArcGIS_World_Street_MapProvider.cs
│ │ │ ├── ArcGIS_World_Terrain_Base_MapProvider.cs
│ │ │ └── ArcGIS_World_Topo_MapProvider.cs
│ │ ├── Bing
│ │ │ ├── BingHybridMapProvider.cs
│ │ │ ├── BingMapProvider.cs
│ │ │ ├── BingOSMapProvider.cs
│ │ │ └── BingSatelliteMapProvider.cs
│ │ ├── Custom
│ │ │ └── CustomMapProvider.cs
│ │ ├── Czech
│ │ │ ├── CzechGeographicMapProvider.cs
│ │ │ ├── CzechHistoryMapProvider.cs
│ │ │ ├── CzechHybridMapProvider.cs
│ │ │ ├── CzechMapProvider.cs
│ │ │ ├── CzechSatelliteMapProvider.cs
│ │ │ ├── CzechTuristMapProvider.cs
│ │ │ └── CzechTuristWinterMapProvider.cs
│ │ ├── CzechOld
│ │ │ ├── CzechHistoryMapProvider.cs
│ │ │ ├── CzechHybridMapProvider.cs
│ │ │ ├── CzechMapProvider.cs
│ │ │ ├── CzechSatelliteMapProvider.cs
│ │ │ └── CzechTuristMapProvider.cs
│ │ ├── Etc
│ │ │ ├── CloudMadeMapProvider.cs
│ │ │ ├── LatviaMapProvider.cs
│ │ │ ├── MapBenderWMSProvider.cs
│ │ │ ├── SpainMapProvider.cs
│ │ │ ├── SwedenMapProvider.cs
│ │ │ ├── SwedenMapProviderAlt.cs
│ │ │ ├── SwissTopoProvider.cs
│ │ │ ├── TurkeyMapProvider.cs
│ │ │ └── WikiMapiaMapProvider.cs
│ │ ├── GMapProvider.cs
│ │ ├── Google
│ │ │ ├── China
│ │ │ │ ├── GoogleChinaHybridMapProvider.cs
│ │ │ │ ├── GoogleChinaMapProvider.cs
│ │ │ │ ├── GoogleChinaSatelliteMapProvider.cs
│ │ │ │ └── GoogleChinaTerrainMapProvider.cs
│ │ │ ├── GoogleHybridMapProvider.cs
│ │ │ ├── GoogleMapProvider.cs
│ │ │ ├── GoogleSatelliteMapProvider.cs
│ │ │ ├── GoogleStructureMapProvider.cs
│ │ │ ├── GoogleTerrainMapProvider.cs
│ │ │ └── Korea
│ │ │ │ ├── GoogleKoreaHybridMapProvider.cs
│ │ │ │ ├── GoogleKoreaMapProvider.cs
│ │ │ │ └── GoogleKoreaSatelliteMapProvider.cs
│ │ ├── Here
│ │ │ ├── HereHybridMapProvider.cs
│ │ │ ├── HereMapProvider.cs
│ │ │ ├── HereSatelliteMapProvider.cs
│ │ │ └── HereTerrainMapProvider.cs
│ │ ├── Lithuania
│ │ │ ├── Lithuania3dMapProvider.cs
│ │ │ ├── LithuaniaHybridMapProvider.cs
│ │ │ ├── LithuaniaHybridOldMapProvider.cs
│ │ │ ├── LithuaniaMapProvider.cs
│ │ │ ├── LithuaniaOrtoFotoMapProvider.cs
│ │ │ ├── LithuaniaOrtoFotoOldMapProvider.cs
│ │ │ ├── LithuaniaReliefMapProvider.cs
│ │ │ └── LithuaniaTOP50.cs
│ │ ├── NearMap
│ │ │ ├── NearHybridMapProvider.cs
│ │ │ ├── NearMapProvider.cs
│ │ │ └── NearSatelliteMapProvider.cs
│ │ ├── OpenStreetMap
│ │ │ ├── OpenCycleLandscapeMapProvider.cs
│ │ │ ├── OpenCycleMapProvider.cs
│ │ │ ├── OpenCycleTransportMapProvider.cs
│ │ │ ├── OpenSeaMapHybridProvider.cs
│ │ │ ├── OpenStreet4UMapProvider.cs
│ │ │ ├── OpenStreetMapGraphHopperProvider.cs
│ │ │ ├── OpenStreetMapProvider.cs
│ │ │ ├── OpenStreetMapQuestHybridProvider.cs
│ │ │ ├── OpenStreetMapQuestProvider.cs
│ │ │ ├── OpenStreetMapQuestSatelliteProvider.cs
│ │ │ ├── OpenStreetMapSurferProvider.cs
│ │ │ ├── OpenStreetMapSurferTerrainProvider.cs
│ │ │ └── OpenStreetOsmProvider.cs
│ │ ├── UMP
│ │ │ └── UMPMapProvider.cs
│ │ ├── Yahoo
│ │ │ ├── YahooHybridMapProvider.cs
│ │ │ ├── YahooMapProvider.cs
│ │ │ └── YahooSatelliteMapProvider.cs
│ │ └── Yandex
│ │ │ ├── YandexHybridMapProvider.cs
│ │ │ ├── YandexMapProvider.cs
│ │ │ └── YandexSatelliteMapProvider.cs
│ ├── MapRoute.cs
│ ├── MapType.cs
│ ├── MouseWheelZoomType.cs
│ ├── Placemark.cs
│ ├── PointLatLng.cs
│ ├── Projections
│ │ ├── MapsLTProjection.cs
│ │ ├── MapsLTReliefProjection.cs
│ │ ├── MapsLVProjection.cs
│ │ ├── MapyCZProjection.cs
│ │ ├── MercatorProjection.cs
│ │ ├── MercatorProjectionYandex.cs
│ │ ├── PlateCarreeProjection.cs
│ │ ├── PlateCarreeProjectionDarbAe.cs
│ │ ├── PlateCarreeProjectionPergo.cs
│ │ ├── SWEREF99_TMProjection.cs
│ │ └── SwissTopoProjection.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ └── Resources.resx
│ ├── PureImageCache.cs
│ ├── PureProjection.cs
│ ├── RectLatLng.cs
│ ├── RenderMode.cs
│ ├── Resources
│ │ ├── blue-dot.png
│ │ ├── drag_cross_67_16.png
│ │ ├── green-dot.png
│ │ ├── marker.png
│ │ ├── mm_20_blue.png
│ │ ├── mm_20_green.png
│ │ ├── mm_20_red.png
│ │ ├── mm_20_shadow.png
│ │ ├── mm_20_yellow.png
│ │ ├── red-dot.png
│ │ ├── shadow50.png
│ │ └── yellow-dot.png
│ ├── RoadsProvider.cs
│ ├── RoutingProvider.cs
│ ├── SizeLatLng.cs
│ ├── StatusCodes.cs
│ ├── ZipStorer.cs
│ └── gpx.cs
├── GMap.NET.Windows
│ ├── GMap.NET.Windows.csproj
│ └── reame.txt
├── GMap.NET.WindowsForms.Utils
│ ├── GMap.NET.WindowsForms.Utils.csproj
│ └── ObjectExtensions.cs
├── GMap.NET.WindowsForms
│ ├── ColorMatrixs.cs
│ ├── GMap.NET.ObjectModel
│ │ ├── ObservableCollection.cs
│ │ ├── ObservableCollectionThreadSafe.cs
│ │ └── ThreadSafeEnumerator.cs
│ ├── GMap.NET.WindowsForms.csproj
│ ├── GMapControl.cs
│ ├── GMapImage.cs
│ ├── GMapMarker.cs
│ ├── GMapOverlay.cs
│ ├── GMapPolygon.cs
│ ├── GMapRoute.cs
│ ├── GMapToolTip.cs
│ ├── Markers
│ │ ├── GMarkerCross.cs
│ │ └── GMarkerGoogle.cs
│ ├── Properties
│ │ ├── Resources.Designer.cs
│ │ └── Resources.resx
│ ├── Resources
│ │ ├── arrow.png
│ │ ├── arrowshadow.png
│ │ ├── black_small.png
│ │ ├── blue-dot.png
│ │ ├── blue-pushpin.png
│ │ ├── blue.png
│ │ ├── blue_small.png
│ │ ├── brown_small.png
│ │ ├── drag_cross_67_16.png
│ │ ├── go-big-green.png
│ │ ├── gray_small.png
│ │ ├── green-dot.png
│ │ ├── green.png
│ │ ├── green_small.png
│ │ ├── grn-pushpin.png
│ │ ├── lightblue.png
│ │ ├── ltblu-pushpin.png
│ │ ├── ltblue-dot.png
│ │ ├── msmarker.shadow.png
│ │ ├── orange-dot.png
│ │ ├── orange.png
│ │ ├── orange_small.png
│ │ ├── pause-big-red.png
│ │ ├── pause-big-yellow.png
│ │ ├── pink-dot.png
│ │ ├── pink-pushpin.png
│ │ ├── pink.png
│ │ ├── purple-dot.png
│ │ ├── purple-pushpin.png
│ │ ├── purple.png
│ │ ├── purple_small.png
│ │ ├── pushpin_shadow.png
│ │ ├── red-dot.png
│ │ ├── red-pushpin.png
│ │ ├── red.png
│ │ ├── red_small.png
│ │ ├── shadow_small.png
│ │ ├── stop-big-red.png
│ │ ├── white_small.png
│ │ ├── yellow-dot.png
│ │ ├── yellow.png
│ │ ├── yellow_small.png
│ │ └── ylw-pushpin.png
│ ├── TilePrefetcher.Designer.cs
│ ├── TilePrefetcher.cs
│ ├── TilePrefetcher.resx
│ └── ToolTips
│ │ ├── GMapBaloonToolTip.cs
│ │ └── GMapRoundedToolTip.cs
└── GMap.NET.WindowsPresentation
│ ├── GMap.NET.WindowsPresentation.csproj
│ ├── GMap.NET.WindowsPresentation.csproj.DotSettings
│ ├── GMapControl.cs
│ ├── GMapImage.cs
│ ├── GMapMarker.cs
│ ├── GMapPolygon.cs
│ ├── GMapRoute.cs
│ ├── TilePrefetcher.xaml
│ └── TilePrefetcher.xaml.cs
├── GMap.ico
├── LICENSE
├── README.md
├── Testing
├── BigMapMaker
│ ├── BigMapMaker.csproj
│ └── Program.cs
├── BingWpfFusion
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── BingWpfFusion.csproj
│ ├── MainWindow.xaml
│ └── MainWindow.xaml.cs
├── ConsoleApplication
│ ├── ConsoleApplication.csproj
│ └── Program.cs
├── Demo.Clouds
│ ├── Demo.Clouds.csproj
│ ├── Images
│ │ └── USOverlay.png
│ ├── MainForm.Designer.cs
│ ├── MainForm.cs
│ ├── MainForm.resx
│ ├── MapControl.cs
│ ├── MapControl.designer.cs
│ ├── MapControl.resx
│ ├── Markers
│ │ └── GMapImage.cs
│ ├── Program.cs
│ └── Properties
│ │ ├── Resources.Designer.cs
│ │ └── Resources.resx
├── Demo.Docking
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Demo.Docking.csproj
│ ├── MainWindow.xaml
│ └── MainWindow.xaml.cs
├── Demo.Geocoding
│ ├── Demo.Geocoding.csproj
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ └── Program.cs
├── Demo.StreetView
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Demo.StreetView.csproj
│ ├── PanoramaViewer.cs
│ ├── Window1.xaml
│ └── Window1.xaml.cs
├── Demo.Testing
│ ├── App.config
│ ├── Demo.Testing.csproj
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ └── packages.config
├── MvcMapFusion
│ ├── Content
│ │ ├── Site.css
│ │ └── themes
│ │ │ └── base
│ │ │ ├── accordion.css
│ │ │ ├── all.css
│ │ │ ├── autocomplete.css
│ │ │ ├── base.css
│ │ │ ├── button.css
│ │ │ ├── core.css
│ │ │ ├── datepicker.css
│ │ │ ├── dialog.css
│ │ │ ├── draggable.css
│ │ │ ├── images
│ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ │ │ ├── ui-bg_flat_75_ffffff_40x100.png
│ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png
│ │ │ ├── ui-bg_glass_65_ffffff_1x400.png
│ │ │ ├── ui-bg_glass_75_dadada_1x400.png
│ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png
│ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png
│ │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png
│ │ │ ├── ui-icons_222222_256x240.png
│ │ │ ├── ui-icons_2e83ff_256x240.png
│ │ │ ├── ui-icons_444444_256x240.png
│ │ │ ├── ui-icons_454545_256x240.png
│ │ │ ├── ui-icons_555555_256x240.png
│ │ │ ├── ui-icons_777620_256x240.png
│ │ │ ├── ui-icons_777777_256x240.png
│ │ │ ├── ui-icons_888888_256x240.png
│ │ │ ├── ui-icons_cc0000_256x240.png
│ │ │ ├── ui-icons_cd0a0a_256x240.png
│ │ │ └── ui-icons_ffffff_256x240.png
│ │ │ ├── jquery-ui.css
│ │ │ ├── jquery-ui.min.css
│ │ │ ├── jquery.ui.accordion.css
│ │ │ ├── jquery.ui.all.css
│ │ │ ├── jquery.ui.autocomplete.css
│ │ │ ├── jquery.ui.button.css
│ │ │ ├── jquery.ui.core.css
│ │ │ ├── jquery.ui.datepicker.css
│ │ │ ├── jquery.ui.dialog.css
│ │ │ ├── jquery.ui.progressbar.css
│ │ │ ├── jquery.ui.resizable.css
│ │ │ ├── jquery.ui.selectable.css
│ │ │ ├── jquery.ui.slider.css
│ │ │ ├── jquery.ui.tabs.css
│ │ │ ├── jquery.ui.theme.css
│ │ │ ├── menu.css
│ │ │ ├── progressbar.css
│ │ │ ├── resizable.css
│ │ │ ├── selectable.css
│ │ │ ├── selectmenu.css
│ │ │ ├── slider.css
│ │ │ ├── sortable.css
│ │ │ ├── spinner.css
│ │ │ ├── tabs.css
│ │ │ ├── theme.css
│ │ │ └── tooltip.css
│ ├── Controllers
│ │ └── HomeController.cs
│ ├── Global.asax
│ ├── Global.asax.cs
│ ├── MvcMapFusion.csproj
│ ├── Properties
│ │ └── launchSettings.json
│ ├── README.jQuery.vsdoc.txt
│ ├── Scripts
│ │ ├── MicrosoftAjax.debug.js
│ │ ├── MicrosoftAjax.js
│ │ ├── MicrosoftMvcAjax.debug.js
│ │ ├── MicrosoftMvcAjax.js
│ │ ├── MicrosoftMvcValidation.debug.js
│ │ ├── MicrosoftMvcValidation.js
│ │ ├── jquery-1.5.1-vsdoc.js
│ │ ├── jquery-1.5.1.js
│ │ ├── jquery-1.5.1.min.js
│ │ ├── jquery-3.3.1.intellisense.js
│ │ ├── jquery-3.3.1.js
│ │ ├── jquery-3.3.1.min.js
│ │ ├── jquery-3.3.1.min.map
│ │ ├── jquery-3.3.1.slim.js
│ │ ├── jquery-3.3.1.slim.min.js
│ │ ├── jquery-3.3.1.slim.min.map
│ │ ├── jquery-ui-1.12.1.js
│ │ ├── jquery-ui-1.12.1.min.js
│ │ ├── jquery-ui-1.8.11.js
│ │ ├── jquery-ui-1.8.11.min.js
│ │ ├── jquery.unobtrusive-ajax.js
│ │ ├── jquery.unobtrusive-ajax.min.js
│ │ ├── jquery.validate-vsdoc.js
│ │ ├── jquery.validate.js
│ │ ├── jquery.validate.min.js
│ │ ├── jquery.validate.unobtrusive.js
│ │ ├── jquery.validate.unobtrusive.min.js
│ │ ├── modernizr-1.7.js
│ │ ├── modernizr-1.7.min.js
│ │ └── modernizr-2.8.3.js
│ ├── Views
│ │ ├── Home
│ │ │ ├── About.cshtml
│ │ │ └── Index.cshtml
│ │ ├── Shared
│ │ │ ├── Error.cshtml
│ │ │ └── _Layout.cshtml
│ │ ├── Web.config
│ │ └── _ViewStart.cshtml
│ ├── Web.Debug.config
│ ├── Web.Release.config
│ ├── Web.config
│ ├── about.html
│ ├── index.html
│ └── readme.txt
├── Silverlight
│ ├── SilverlightMapFusion.Web
│ │ ├── MainForm.aspx
│ │ ├── MainForm.aspx.cs
│ │ ├── MainForm.aspx.designer.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Silverlight.js
│ │ ├── SilverlightMapFusion.Web.csproj
│ │ ├── Web.Debug.config
│ │ ├── Web.Release.config
│ │ └── Web.config
│ └── SilverlightMapFusion
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Properties
│ │ ├── AppManifest.xml
│ │ ├── AssemblyInfo.cs
│ │ └── OutOfBrowserSettings.xml
│ │ └── SilverlightMapFusion.csproj
└── TemplatedBinding
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── TemplatedBinding.csproj
│ ├── Window1.xaml
│ └── Window1.xaml.cs
├── Tools
└── MapCruncher
│ ├── BackMaker
│ ├── Program.cs
│ ├── ProgramInstance.cs
│ └── UsageException.cs
│ ├── Info.pdf
│ ├── Jama
│ ├── Jama.examples
│ │ └── MagicSquareExample.cs
│ ├── Jama.test
│ │ └── TestMatrix.cs
│ ├── Jama.util
│ │ ├── Maths.cs
│ │ └── SupportClass.cs
│ └── Jama
│ │ ├── CholeskyDecomposition.cs
│ │ ├── CorrespondencesAreSingularException.cs
│ │ ├── EigenvalueDecomposition.cs
│ │ ├── JamaMatrix.cs
│ │ ├── LUDecomposition.cs
│ │ ├── QRDecomposition.cs
│ │ └── SingularValueDecomposition.cs
│ ├── MSR.CVE.BackMaker.ImagePipeline.AsynchronizerPrivate
│ └── AsynchronizerFuture.cs
│ ├── MSR.CVE.BackMaker.ImagePipeline
│ ├── AccessMethod.cs
│ ├── Affine2DPointTransformer.cs
│ ├── AlwaysReturnFailureFuture.cs
│ ├── ApplyFuture.cs
│ ├── ApplyPrototype.cs
│ ├── ApplyVerbPresent.cs
│ ├── AsyncRecord.cs
│ ├── AsyncRecordCache.cs
│ ├── AsyncRef.cs
│ ├── AsyncScheduler.cs
│ ├── AsyncState.cs
│ ├── Asynchronizer.cs
│ ├── BeyondImageBounds.cs
│ ├── BoolParameter.cs
│ ├── BoundsPresent.cs
│ ├── CacheBase.cs
│ ├── CachePackage.cs
│ ├── CacheRecord.cs
│ ├── ClockCacheRecord.cs
│ ├── CompositeBoundsVerb.cs
│ ├── CompositeImageVerb.cs
│ ├── CompositeTileSource.cs
│ ├── ConstantFuture.cs
│ ├── ConstantVerb.cs
│ ├── ContinuousCoordinateSystem.cs
│ ├── CoordinateSystemIfc.cs
│ ├── CoordinateSystemUtilities.cs
│ ├── DebugHash.cs
│ ├── DiskCache.cs
│ ├── DiskCacheFuture.cs
│ ├── DiskCachePrototype.cs
│ ├── DisplayableSourceCache.cs
│ ├── DummyTerm.cs
│ ├── EncodableHash.cs
│ ├── ExactColors.cs
│ ├── FadeVerb.cs
│ ├── FakeOpenDocumentFuture.cs
│ ├── FastPoly1PointTransformer.cs
│ ├── FastPoly2PointTransformer.cs
│ ├── FetchDocumentFuture.cs
│ ├── FlatAddressLayout.cs
│ ├── FoxitOpenDocument.cs
│ ├── FoxitOpenVerb.cs
│ ├── FutureBase.cs
│ ├── FutureDocumentFromFilesystem.cs
│ ├── FutureDocumentFromUri.cs
│ ├── FutureFeatures.cs
│ ├── GDIOpenDocument.cs
│ ├── GDIOpenVerb.cs
│ ├── GeneralDocumentFuture.cs
│ ├── HashableImmutableParameter.cs
│ ├── HomographicImageTransformer.cs
│ ├── IBoundsProvider.cs
│ ├── IDisplayableSource.cs
│ ├── IDocumentFuture.cs
│ ├── IDocumentSource.cs
│ ├── IEvictable.cs
│ ├── IFuture.cs
│ ├── IFuturePrototype.cs
│ ├── IImageTransformer.cs
│ ├── IPolyPointTransformer.cs
│ ├── IRenderableSource.cs
│ ├── IRobustHash.cs
│ ├── IRobustlyHashable.cs
│ ├── ISourceMapRendererVerbs.cs
│ ├── ITileAddressLayout.cs
│ ├── ImageParameterFromRawBounds.cs
│ ├── ImageParameterFromTileAddress.cs
│ ├── ImageParameterTypeIfc.cs
│ ├── ImageRef.cs
│ ├── ImageRefCounted.cs
│ ├── ImmutableParameter.cs
│ ├── InjectedTileFailure.cs
│ ├── InsufficientCorrespondencesException.cs
│ ├── IntParameter.cs
│ ├── InterestList.cs
│ ├── LatLonToSourceTransform.cs
│ ├── MapRectangleParameter.cs
│ ├── MemCacheFuture.cs
│ ├── MemCachePrototype.cs
│ ├── MemoryCache.cs
│ ├── MercatorCoordinateSystem.cs
│ ├── OpenDocumentSensitivePrioritizedFuture.cs
│ ├── OpenDocumentSensitivePrioritizedPrototype.cs
│ ├── OpenDocumentSensitivePrioritizer.cs
│ ├── OpenDocumentStateObserverIfc.cs
│ ├── ParamDict.cs
│ ├── Parameter.cs
│ ├── PersistentInterest.cs
│ ├── PolynomialImageTransformer.cs
│ ├── Present.cs
│ ├── PresentDiskDispatcher.cs
│ ├── PresentFailureCode.cs
│ ├── RenderBoundsPresent.cs
│ ├── RenderedTileFetch.cs
│ ├── RenderedTileSource.cs
│ ├── RequestCanceledPresent.cs
│ ├── RetryableFailure.cs
│ ├── RobustHashTools.cs
│ ├── ScaleAndTranslate.cs
│ ├── SizeParameter.cs
│ ├── SizeSensitiveCache.cs
│ ├── SizedCacheRecord.cs
│ ├── SizedObject.cs
│ ├── SlowGeneralPolyPointTransformer.cs
│ ├── SourceDocument.cs
│ ├── SourceImageDownsamplerVerb.cs
│ ├── SourceMapRendererTools.cs
│ ├── SourceToLatLonTransform.cs
│ ├── StringParameter.cs
│ ├── StrongHash.cs
│ ├── SynchronizingFuture.cs
│ ├── TemporaryFailureException.cs
│ ├── TermName.cs
│ ├── TileAddressEnumerator.cs
│ ├── TileAddressToImageRegion.cs
│ ├── TileDisplayDescriptor.cs
│ ├── TileDisplayDescriptorArray.cs
│ ├── TransparencyFuture.cs
│ ├── TransparencyPrototype.cs
│ ├── UnevaluatedTerm.cs
│ ├── UnretryableFailure.cs
│ ├── UnseekableStream.cs
│ ├── UnwarpedMapTileSource.cs
│ ├── UserBoundsRefVerb.cs
│ ├── UserClipperVerb.cs
│ ├── VEAddressLayout.cs
│ ├── VETileFetch.cs
│ ├── VETileSource.cs
│ ├── VETileUpsamplerVerb.cs
│ ├── Verb.cs
│ ├── VerbPresent.cs
│ ├── WPFOpenDocument.cs
│ ├── WPFOpenVerb.cs
│ ├── WarpBoundsVerb.cs
│ ├── WarpImageVerb.cs
│ ├── WarpedMapTileSource.cs
│ ├── WebTileFetch.cs
│ └── WriteObjectFailedException.cs
│ ├── MSR.CVE.BackMaker.MCDebug
│ ├── BigDebugKnob.cs
│ ├── Clocker.cs
│ ├── CountedEventWaitHandle.cs
│ ├── DiagnosticUI.cs
│ ├── MakeObjectID.cs
│ ├── ResourceCounter.cs
│ └── WeakHashableObject.cs
│ ├── MSR.CVE.BackMaker.Resources
│ ├── Version.Designer.cs
│ ├── Version.resx
│ ├── icon.ico
│ ├── image.jpeg
│ └── label.png
│ ├── MSR.CVE.BackMaker
│ ├── AboutForm.Designer.cs
│ ├── AboutForm.cs
│ ├── AboutForm.resx
│ ├── AckRecord.cs
│ ├── AffineTransformationStyle.cs
│ ├── AssociationIfc.cs
│ ├── AutomaticTransformationStyle.cs
│ ├── BackMakerRegistry.cs
│ ├── BiSortedDictionary.cs
│ ├── BuildConfig.cs
│ ├── Cfg.cs
│ ├── CfgBool.cs
│ ├── CfgInt.cs
│ ├── CfgString.cs
│ ├── CompositeTileUnit.cs
│ ├── ConfigurationException.cs
│ ├── CrunchedFile.cs
│ ├── CrunchedLayer.cs
│ ├── CurrentSchema.cs
│ ├── D.cs
│ ├── DebugComparer.cs
│ ├── DebugThreadInterrupter.cs
│ ├── DefaultReferenceView.cs
│ ├── DegreesMinutesSeconds.cs
│ ├── DirtyEvent.cs
│ ├── DirtyListener.cs
│ ├── DirtyString.cs
│ ├── DisplayablePosition.cs
│ ├── DocumentMutabilityControlIfc.cs
│ ├── DownhillInverterPointTransformer.cs
│ ├── DuplicatePushpinException.cs
│ ├── DynamicallyCompositingLayerViewManager.cs
│ ├── ElementwiseMath.cs
│ ├── ErrorPosition.cs
│ ├── ExceptionMessageRecord.cs
│ ├── ExpandedMemoryIfc.cs
│ ├── FIBR.cs
│ ├── FPDFBitmapCache.cs
│ ├── FadeOptions.cs
│ ├── FastImageWarper.cs
│ ├── FileIdentification.cs
│ ├── FileOutputMethod.cs
│ ├── FileUtilities.cs
│ ├── FodderSupport.cs
│ ├── FoxitLibManager.cs
│ ├── FoxitLibWorker.cs
│ ├── FoxitViewer.cs
│ ├── GDIBigLockedImage.cs
│ ├── GhostscriptConfiguration.cs
│ ├── HTMLMessageBox.cs
│ ├── HasDisplayNameIfc.cs
│ ├── HeaderList.cs
│ ├── HeapBool.cs
│ ├── HomographicTransformationStyle.cs
│ ├── HomographyPointTransformer.cs
│ ├── ICurrentView.cs
│ ├── IFoxitViewer.cs
│ ├── IMapView.cs
│ ├── IPointTransformer.cs
│ ├── ITileWorkFeedback.cs
│ ├── IViewManager.cs
│ ├── IgnoredTags.cs
│ ├── ImageTypeMapper.cs
│ ├── ImageTypeMapping.cs
│ ├── InlineSourceMapInfoSchema.cs
│ ├── InsaneSourceMapRemover.cs
│ ├── IntPixel.cs
│ ├── InvalidFileContentsException.cs
│ ├── InvalidLLZ.cs
│ ├── InvalidMashupFile.cs
│ ├── InvalidatableViewIfc.cs
│ ├── LLZBox.cs
│ ├── LastViewIfc.cs
│ ├── LatLon.cs
│ ├── LatLonEditIfc.cs
│ ├── LatLonZoom.cs
│ ├── LatentRegionHolder.cs
│ ├── Layer.cs
│ ├── LayerControlIfc.cs
│ ├── LayerControls.cs
│ ├── LayerList.cs
│ ├── LayerMetadataFile.cs
│ ├── LayerView.cs
│ ├── Legend.cs
│ ├── LegendDisplayableSourceWrapper.cs
│ ├── LegendList.cs
│ ├── LegendOptionsPanel.cs
│ ├── LegendRecord.cs
│ ├── LegendView.cs
│ ├── LegendViewManager.cs
│ ├── LengthRecord.cs
│ ├── ListUIIfc.cs
│ ├── LocalDocumentDescriptor.cs
│ ├── MC1NamingScheme.cs
│ ├── MainAppForm.cs
│ ├── MainAppForm.resx
│ ├── Manifest.cs
│ ├── ManifestOutputMethod.cs
│ ├── MapDrawingOption.cs
│ ├── MapPosition.cs
│ ├── MapPositionDelegate.cs
│ ├── MapRectangle.cs
│ ├── MapTileSourceFactory.cs
│ ├── Mashup.cs
│ ├── MashupFileWarning.cs
│ ├── MashupFileWarningList.cs
│ ├── MashupParseContext.cs
│ ├── MashupWriteContext.cs
│ ├── MashupXMLSchemaVersion.cs
│ ├── MonolithicMapPositionsSchema.cs
│ ├── NameWatchingTreeNode.cs
│ ├── NamedPipeBase.cs
│ ├── NamedPipeClient.cs
│ ├── NamedPipeServer.cs
│ ├── NoMapPosition.cs
│ ├── NoTagIdentities.cs
│ ├── NoView.cs
│ ├── NonredundantRenderComplaint.cs
│ ├── NothingLayerViewManager.cs
│ ├── OneLayerBoundApplier.cs
│ ├── OpenRequest.cs
│ ├── OptionsPanelVisibility.cs
│ ├── OutputTileType.cs
│ ├── PaintPrompter.cs
│ ├── PaintSpecification.cs
│ ├── ParametricLine.cs
│ ├── ParseableCfg.cs
│ ├── PinDisplayIfc.cs
│ ├── Pixel.cs
│ ├── PixelStruct.cs
│ ├── Point64.cs
│ ├── PointD.cs
│ ├── PositionAssociation.cs
│ ├── PositionAssociationView.cs
│ ├── PositionMemoryIfc.cs
│ ├── PositionUpdateIfc.cs
│ ├── QueueRequestIfc.cs
│ ├── QueueSuicideRequest.cs
│ ├── QueuedTileProvider.cs
│ ├── QuitRequest.cs
│ ├── RBTreeNode.cs
│ ├── Range.cs
│ ├── RangeDescriptor.cs
│ ├── RangeDouble.cs
│ ├── RangeInt.cs
│ ├── RangeQueryData.cs
│ ├── ReadyToLockIfc.cs
│ ├── RecoverAutoSavedFileDialog.cs
│ ├── RectangleD.cs
│ ├── RectangleFRecord.cs
│ ├── RedBlackTree.cs
│ ├── RefSnapView.cs
│ ├── RegistrationControlRecord.cs
│ ├── RegistrationDefinition.cs
│ ├── RemoteFoxitServer.cs
│ ├── RemoteFoxitStub.cs
│ ├── RenderBounds.cs
│ ├── RenderClip.cs
│ ├── RenderComplaintBox.cs
│ ├── RenderDebug.cs
│ ├── RenderIfc.cs
│ ├── RenderOptions.cs
│ ├── RenderOptionsPanel.cs
│ ├── RenderOutputMethod.cs
│ ├── RenderOutputUtil.cs
│ ├── RenderProgressPanel2.cs
│ ├── RenderQualityStyle.cs
│ ├── RenderRegion.cs
│ ├── RenderReply.cs
│ ├── RenderRequest.cs
│ ├── RenderState.cs
│ ├── RenderToFileControl.cs
│ ├── RenderToFileOptions.cs
│ ├── RenderToOptions.cs
│ ├── RenderToS3Control.cs
│ ├── RenderToS3Options.cs
│ ├── RenderUIIfc.cs
│ ├── RenderWindow.cs
│ ├── RenderWindow.resx
│ ├── RenderWorkUnit.cs
│ ├── RenderWorkUnitComparinator.cs
│ ├── RenderedLayerDisplayInfo.cs
│ ├── RenderedLayerSelector.cs
│ ├── RenderedMashupViewer.cs
│ ├── RenderedMashupViewer.resx
│ ├── RenderedTileNamingScheme.cs
│ ├── RequestInterestIfc.cs
│ ├── RobustPointTransformer.cs
│ ├── S3Adaptor.cs
│ ├── S3Content.cs
│ ├── S3Credentials.cs
│ ├── S3CredentialsForm.cs
│ ├── S3OutputMethod.cs
│ ├── S3Response.cs
│ ├── SVDisplayParams.cs
│ ├── SampleHTMLWriter.cs
│ ├── SampleHTMLWriterConstants.cs
│ ├── Set.cs
│ ├── SingleMaxZoomForEntireMashupCompatibilityBlob.cs
│ ├── SingleMaxZoomForEntireMashupSchema.cs
│ ├── SingleSourceUnit.cs
│ ├── SnapViewDisplayIfc.cs
│ ├── SnapViewStoreIfc.cs
│ ├── SourceMap.cs
│ ├── SourceMapInfo.cs
│ ├── SourceMapInfoAsCharDataSchema.cs
│ ├── SourceMapInfoPanel.cs
│ ├── SourceMapLegendFrame.cs
│ ├── SourceMapOverviewWindow.cs
│ ├── SourceMapRecord.cs
│ ├── SourceMapRegistrationView.cs
│ ├── SourceMapRenderOptions.cs
│ ├── SourceMapViewManager.cs
│ ├── SourceSnapView.cs
│ ├── StreamFilter.cs
│ ├── StreamTee.cs
│ ├── StringUtils.cs
│ ├── TRecord.cs
│ ├── ThumbnailCollection.cs
│ ├── ThumbnailRecord.cs
│ ├── TileAddress.cs
│ ├── TileRectangle.cs
│ ├── TracedScreenPoint.cs
│ ├── TracedVertex.cs
│ ├── TransformFailedException.cs
│ ├── TransformationStyle.cs
│ ├── TransformationStyleFactory.cs
│ ├── TransparencyColor.cs
│ ├── TransparencyIfc.cs
│ ├── TransparencyOptions.cs
│ ├── TransparencyOptionsChangedDelegate.cs
│ ├── TransparencyPanel.cs
│ ├── UIPositionManager.cs
│ ├── UndefinedPixel.cs
│ ├── UnknownImageTypeException.cs
│ ├── UserRegionViewController.cs
│ ├── VENamingScheme.cs
│ ├── VEUrlFormat.cs
│ ├── ViewControlIfc.cs
│ ├── ViewState.cs
│ ├── ViewState_XML.cs
│ ├── ViewerControl.cs
│ ├── ViewerControlIfc.cs
│ ├── ViewsNotAsWellPreservedSchema.cs
│ ├── VirtualEarthWebDownloader.cs
│ ├── XMLTagReader.cs
│ ├── XMLUtils.cs
│ └── registrationControls.cs
│ ├── MapCruncher.chm
│ ├── MapCruncher.csproj
│ ├── MapCruncherAppConfig.xml
│ ├── Properties
│ ├── Resources.Designer.cs
│ └── Resources.resx
│ └── fpdfview.dll
├── UnitTest
└── UnitTest.GMap.NET.Core
│ ├── UnitTest.GMap.NET.Core.csproj
│ ├── UnitTestGoogleMapProvider.cs
│ ├── UnitTestOpenStreetMapGraphHopperProvider.cs
│ ├── UnitTestOpenStreetMapProvider.cs
│ └── Usings.cs
└── sn.snk
/Demo/Demo.AvaloniaUi/App.axaml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo/Demo.AvaloniaUi/App.axaml.cs:
--------------------------------------------------------------------------------
1 | using Avalonia;
2 | using Avalonia.Controls.ApplicationLifetimes;
3 | using Avalonia.Markup.Xaml;
4 |
5 | namespace Demo.AvaloniaUi
6 | {
7 | public class App : Application
8 | {
9 | public override void Initialize()
10 | {
11 | AvaloniaXamlLoader.Load(this);
12 | }
13 |
14 | public override void OnFrameworkInitializationCompleted()
15 | {
16 | if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
17 | {
18 | desktop.MainWindow = new MainWindow();
19 | }
20 |
21 | base.OnFrameworkInitializationCompleted();
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Demo/Demo.AvaloniaUi/Demo.AvaloniaUi.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | WinExe
4 | net46;net461;net462;net47;net471;net472;net48;netcoreapp3.0;netcoreapp3.1;net5.0-windows;net6.0-windows
5 | enable
6 | default
7 | true
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Demo/Demo.AvaloniaUi/MainWindow.axaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Demo/Demo.AvaloniaUi/Program.cs:
--------------------------------------------------------------------------------
1 | using Avalonia;
2 | using Avalonia.Controls;
3 | using Avalonia.Controls.ApplicationLifetimes;
4 | using System;
5 |
6 | namespace Demo.AvaloniaUi
7 | {
8 | class Program
9 | {
10 | // Initialization code. Don't use any Avalonia, third-party APIs or any
11 | // SynchronizationContext-reliant code before AppMain is called: things aren't initialized
12 | // yet and stuff might break.
13 | public static void Main(string[] args) => BuildAvaloniaApp()
14 | .StartWithClassicDesktopLifetime(args);
15 |
16 | // Avalonia configuration, don't remove; also used by visual designer.
17 | public static AppBuilder BuildAvaloniaApp()
18 | => AppBuilder.Configure()
19 | .UsePlatformDetect()
20 | .LogToTrace();
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Demo/Demo.AvaloniaUi/nuget.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsForms/Forms/Message.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Windows.Forms;
5 |
6 | namespace Demo.WindowsForms.Forms
7 | {
8 | public partial class Message : Form
9 | {
10 | public Message()
11 | {
12 | InitializeComponent();
13 | }
14 |
15 | private void button2_Click(object sender, EventArgs e)
16 | {
17 | Close();
18 | }
19 |
20 | private void button1_Click(object sender, EventArgs e)
21 | {
22 | Close();
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsForms/Resources/ImageReady.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/Demo.WindowsForms/Resources/ImageReady.ico
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/Controls/TrolleyTooltip.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Controls;
2 | using Demo.WindowsForms;
3 |
4 | namespace Demo.WindowsPresentation.Controls
5 | {
6 | ///
7 | /// Interaction logic for TrolleyTooltip.xaml
8 | ///
9 | public partial class TrolleyTooltip : UserControl
10 | {
11 | public TrolleyTooltip()
12 | {
13 | InitializeComponent();
14 | }
15 |
16 | public void SetValues(string type, VehicleData vl)
17 | {
18 | Device.Text = vl.Id.ToString();
19 | LineNum.Text = type + " " + vl.Line;
20 | StopName.Text = vl.LastStop;
21 | TrackType.Text = vl.TrackType;
22 | TimeGps.Text = vl.Time;
23 | Area.Text = vl.AreaName;
24 | Street.Text = vl.StreetName;
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/Circle.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/Circle.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Controls;
2 | using GMap.NET;
3 |
4 | namespace Demo.WindowsPresentation.CustomMarkers
5 | {
6 | ///
7 | /// Interaction logic for Circle.xaml
8 | ///
9 | public partial class Circle : UserControl
10 | {
11 | public Circle()
12 | {
13 | InitializeComponent();
14 | }
15 |
16 | public PointLatLng Center;
17 | public PointLatLng Bound;
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/Cross.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/Cross.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Controls;
2 |
3 | namespace Demo.WindowsPresentation.CustomMarkers
4 | {
5 | ///
6 | /// Interaction logic for Cross.xaml
7 | ///
8 | public partial class Cross : UserControl
9 | {
10 | public Cross()
11 | {
12 | InitializeComponent();
13 | IsHitTestVisible = false;
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/CustomMarkerDemo.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/CustomMarkerRed.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/Test.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 | 44
8 |
9 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/Test.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Controls;
2 |
3 | namespace Demo.WindowsPresentation.CustomMarkers
4 | {
5 | ///
6 | /// Interaction logic for Test.xaml
7 | ///
8 | public partial class Test : UserControl
9 | {
10 | public Test(string txt)
11 | {
12 | InitializeComponent();
13 |
14 | Text.Text = txt;
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/bigMarkerGreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/Demo.WindowsPresentation/CustomMarkers/bigMarkerGreen.png
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/CustomMarkers/red-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/Demo.WindowsPresentation/CustomMarkers/red-dot.png
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/Resources/ImageReady.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/Demo.WindowsPresentation/Resources/ImageReady.ico
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/Resources/zoom+.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/Demo.WindowsPresentation/Resources/zoom+.png
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/Resources/zoom-.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/Demo.WindowsPresentation/Resources/zoom-.png
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/Source/App.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows;
3 | using GMap.NET;
4 |
5 | namespace Demo.WindowsPresentation
6 | {
7 | public partial class App : Application
8 | {
9 | [STAThread()]
10 | static void Main()
11 | {
12 | // Create the application.
13 | var app = new Application();
14 |
15 | // Create the main window.
16 | var win = new MainWindow();
17 |
18 | // Launch the application and show the main window.
19 | app.Run(win);
20 | }
21 | }
22 |
23 | public class Dummy
24 | {
25 | }
26 |
27 | public struct PointAndInfo
28 | {
29 | public PointLatLng Point;
30 | public string Info;
31 |
32 | public PointAndInfo(PointLatLng point, string info)
33 | {
34 | Point = point;
35 | Info = info;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/Windows/Message.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
9 |
12 |
14 |
15 |
--------------------------------------------------------------------------------
/Demo/Demo.WindowsPresentation/Windows/Message.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace Demo.WindowsPresentation.Windows
4 | {
5 | ///
6 | /// Interaction logic for Message.xaml
7 | ///
8 | public partial class Message : Window
9 | {
10 | public Message()
11 | {
12 | InitializeComponent();
13 | }
14 |
15 | private void button1_Click(object sender, RoutedEventArgs e)
16 | {
17 | DialogResult = true;
18 | Close();
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/images/layers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/References/Web/LeafletJS/images/layers.png
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/images/locate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/References/Web/LeafletJS/images/locate.png
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/images/locate_active.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/References/Web/LeafletJS/images/locate_active.png
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/images/marker-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/References/Web/LeafletJS/images/marker-icon.png
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/images/marker-icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/References/Web/LeafletJS/images/marker-icon@2x.png
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/images/marker-shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/References/Web/LeafletJS/images/marker-shadow.png
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/images/spinner.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Demo/References/Web/LeafletJS/images/spinner.gif
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/locate-ie.css:
--------------------------------------------------------------------------------
1 | /* Conditional stylesheet for IE. */
2 | .leaflet-control-locate {
3 | border: 3px solid #999;
4 | }
5 |
6 | .leaflet-control-locate a {
7 | background-color: #eee;
8 | }
9 |
10 | .leaflet-control-locate a:hover {
11 | background-color: #fff;
12 | }
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/locate.css:
--------------------------------------------------------------------------------
1 | .leaflet-bar-part-single {
2 | -webkit-border-radius: 4px 4px 4px 4px;
3 | border-radius: 4px 4px 4px 4px;
4 | border-bottom: none;
5 | }
6 |
7 | .leaflet-touch .leaflet-bar-part-single {
8 | -webkit-border-radius: 7px 7px 7px 7px;
9 | border-radius: 7px 7px 7px 7px;
10 | border-bottom: none;
11 | }
12 |
13 | .leaflet-control-locate a {
14 | background-image: url(images/locate.png);
15 | }
16 |
17 | .leaflet-control-locate.requesting a {
18 | background-image: url(images/spinner.gif);
19 | }
20 |
21 | .leaflet-control-locate.active a {
22 | background-image: url(images/locate_active.png);
23 | }
--------------------------------------------------------------------------------
/Demo/References/Web/LeafletJS/mobile.css:
--------------------------------------------------------------------------------
1 | html, body, #map {
2 | margin: 0;
3 | padding: 0;
4 | width: 100%;
5 | height: 100%;
6 | }
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Avalonia/nuget.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/AccessMode.cs:
--------------------------------------------------------------------------------
1 | namespace GMap.NET
2 | {
3 | ///
4 | /// tile access mode
5 | ///
6 | public enum AccessMode
7 | {
8 | ///
9 | /// access only server
10 | ///
11 | ServerOnly,
12 |
13 | ///
14 | /// access first server and caches locally
15 | ///
16 | ServerAndCache,
17 |
18 | ///
19 | /// access only cache
20 | ///
21 | CacheOnly,
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Delegates.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using GMap.NET.MapProviders;
3 |
4 | namespace GMap.NET
5 | {
6 | public delegate void PositionChanged(PointLatLng point);
7 |
8 | public delegate void TileLoadComplete(long elapsedMilliseconds);
9 |
10 | public delegate void TileLoadStart();
11 |
12 | public delegate void TileCacheComplete();
13 |
14 | public delegate void TileCacheStart();
15 |
16 | public delegate void TileCacheProgress(int tilesLeft);
17 |
18 | public delegate void MapDrag();
19 |
20 | public delegate void MapZoomChanged();
21 |
22 | public delegate void MapTypeChanged(GMapProvider type);
23 |
24 | public delegate void EmptyTileError(int zoom, GPoint pos);
25 |
26 | public delegate void ExceptionThrown(Exception exception);
27 | }
28 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/GMap.NET.Core.csproj.DotSettings:
--------------------------------------------------------------------------------
1 |
2 | True
3 | True
4 | True
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/GeocodingProvider.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace GMap.NET
4 | {
5 | ///
6 | /// geocoding interface
7 | ///
8 | public interface GeocodingProvider
9 | {
10 | GeoCoderStatusCode GetPoints(string keywords, out List pointList);
11 |
12 | PointLatLng? GetPoint(string keywords, out GeoCoderStatusCode status);
13 |
14 |
15 | GeoCoderStatusCode GetPoints(Placemark placemark, out List pointList);
16 |
17 | PointLatLng? GetPoint(Placemark placemark, out GeoCoderStatusCode status);
18 |
19 |
20 | GeoCoderStatusCode GetPlacemarks(PointLatLng location, out List placemarkList);
21 |
22 | Placemark? GetPlacemark(PointLatLng location, out GeoCoderStatusCode status);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Internals/CacheQueueItem.cs:
--------------------------------------------------------------------------------
1 | namespace GMap.NET.Internals
2 | {
3 | ///
4 | /// cache queue item
5 | ///
6 | internal struct CacheQueueItem
7 | {
8 | public RawTile Tile;
9 | public byte[] Img;
10 | public CacheUsage CacheType;
11 |
12 | public CacheQueueItem(RawTile tile, byte[] img, CacheUsage cacheType)
13 | {
14 | Tile = tile;
15 | this.Img = img;
16 | CacheType = cacheType;
17 | }
18 |
19 | public override string ToString()
20 | {
21 | return Tile + ", CacheType:" + CacheType;
22 | }
23 |
24 | public void Clear()
25 | {
26 | Img = null;
27 | }
28 | }
29 |
30 | internal enum CacheUsage
31 | {
32 | First = 2,
33 | Second = 4,
34 | Both = First | Second
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Internals/DrawTile.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace GMap.NET.Internals
4 | {
5 | ///
6 | /// struct for drawing tile
7 | ///
8 | internal struct DrawTile : IEquatable, IComparable
9 | {
10 | public GPoint PosXY;
11 | public GPoint PosPixel;
12 | public double DistanceSqr;
13 |
14 | public override string ToString()
15 | {
16 | return PosXY + ", px: " + PosPixel;
17 | }
18 |
19 | #region IEquatable Members
20 |
21 | public bool Equals(DrawTile other)
22 | {
23 | return PosXY == other.PosXY;
24 | }
25 |
26 | #endregion
27 |
28 | #region IComparable Members
29 |
30 | public int CompareTo(DrawTile other)
31 | {
32 | return other.DistanceSqr.CompareTo(DistanceSqr);
33 | }
34 |
35 | #endregion
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Internals/RawTile.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace GMap.NET.Internals
4 | {
5 | ///
6 | /// struct for raw tile
7 | ///
8 | internal struct RawTile
9 | {
10 | public int Type;
11 | public GPoint Pos;
12 | public int Zoom;
13 |
14 | public RawTile(int type, GPoint pos, int zoom)
15 | {
16 | this.Type = type;
17 | this.Pos = pos;
18 | this.Zoom = zoom;
19 | }
20 |
21 | public override string ToString()
22 | {
23 | return Type + " at zoom " + Zoom + ", pos: " + Pos;
24 | }
25 | }
26 |
27 | internal class RawTileComparer : IEqualityComparer
28 | {
29 | public bool Equals(RawTile x, RawTile y)
30 | {
31 | return x.Type == y.Type && x.Zoom == y.Zoom && x.Pos == y.Pos;
32 | }
33 |
34 | public int GetHashCode(RawTile obj)
35 | {
36 | return obj.Type ^ obj.Zoom ^ obj.Pos.GetHashCode();
37 | }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Internals/SocksProxySocket/AuthNone.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Internals/SocksProxySocket/AuthNone.cs
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Internals/SocksProxySocket/ProxyException.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Internals/SocksProxySocket/ProxyException.cs
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Internals/SocksProxySocket/Socks4Handler.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Internals/SocksProxySocket/Socks4Handler.cs
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/MouseWheelZoomType.cs:
--------------------------------------------------------------------------------
1 | namespace GMap.NET
2 | {
3 | ///
4 | /// map zooming type
5 | ///
6 | public enum MouseWheelZoomType
7 | {
8 | ///
9 | /// zooms map to current mouse position and makes it map center
10 | ///
11 | MousePositionAndCenter,
12 |
13 | ///
14 | /// zooms to current mouse position, but doesn't make it map center,
15 | /// google/bing style ;}
16 | ///
17 | MousePositionWithoutCenter,
18 |
19 | ///
20 | /// zooms map to current view center
21 | ///
22 | ViewCenter,
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/RenderMode.cs:
--------------------------------------------------------------------------------
1 | namespace GMap.NET
2 | {
3 | ///
4 | /// types of map rendering
5 | ///
6 | public enum RenderMode
7 | {
8 | ///
9 | /// gdi+ should work anywhere on Windows Forms
10 | ///
11 | GDI_PLUS,
12 |
13 | ///
14 | /// only on Windows Presentation Foundation
15 | ///
16 | WPF,
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/blue-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/blue-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/drag_cross_67_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/drag_cross_67_16.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/green-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/green-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/marker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/marker.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/mm_20_blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/mm_20_blue.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/mm_20_green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/mm_20_green.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/mm_20_red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/mm_20_red.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/mm_20_shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/mm_20_shadow.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/mm_20_yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/mm_20_yellow.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/red-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/red-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/shadow50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/shadow50.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/Resources/yellow-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.Core/Resources/yellow-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/RoadsProvider.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace GMap.NET
4 | {
5 | ///
6 | /// roads interface
7 | ///
8 | public interface RoadsProvider
9 | {
10 | MapRoute GetRoadsRoute(List points, bool interpolate);
11 |
12 | MapRoute GetRoadsRoute(string points, bool interpolate);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Core/RoutingProvider.cs:
--------------------------------------------------------------------------------
1 | namespace GMap.NET
2 | {
3 | ///
4 | /// routing interface
5 | ///
6 | public interface RoutingProvider
7 | {
8 | ///
9 | /// get route between two points
10 | ///
11 | MapRoute GetRoute(PointLatLng start, PointLatLng end, bool avoidHighways, bool walkingMode, int zoom);
12 |
13 | ///
14 | /// get route between two points
15 | ///
16 | MapRoute GetRoute(string start, string end, bool avoidHighways, bool walkingMode, int zoom);
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Windows/GMap.NET.Windows.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | GMap.NET.Windows
5 | GMap.NET.Windows
6 | GMap.NET.Windows
7 | false
8 | net46;net461;net462;net47;net471;net472;net48;netcoreapp3.0;netcoreapp3.1;net5.0-windows;net6.0-windows
9 |
10 |
11 | Library migrated to .Net Core and published in new individual packages
12 |
13 | - GMap.NET.Core
14 | - GMap.NET.WinForms
15 | - GMap.NET.WinPresentation
16 | - GMap.NET.WinAvalonia
17 |
18 | History Release Notes
19 | https://github.com/judero01col/GMap.NET/blob/master/README.md#release-notes
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.Windows/reame.txt:
--------------------------------------------------------------------------------
1 | Library migrated to .Net Core and published in new individual packages
2 |
3 | - GMap.NET.Core
4 | - GMap.NET.WinForms
5 | - GMap.NET.WinPresentation
6 |
7 | History Release Notes
8 | https://github.com/judero01col/GMap.NET/blob/master/README.md#release-notes
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/ColorMatrixs.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing.Imaging;
2 |
3 | namespace GMap.NET.WindowsForms
4 | {
5 | public static class ColorMatrixs
6 | {
7 | public static readonly ColorMatrix GrayScale = new ColorMatrix(new[]
8 | {
9 | new[] {.3f, .3f, .3f, 0, 0}, new[] {.59f, .59f, .59f, 0, 0},
10 | new[] {.11f, .11f, .11f, 0, 0}, new float[] {0, 0, 0, 1, 0}, new float[] {0, 0, 0, 0, 1}
11 | });
12 |
13 | public static readonly ColorMatrix Negative = new ColorMatrix(new[]
14 | {
15 | new float[] {-1, 0, 0, 0, 0}, new float[] {0, -1, 0, 0, 0}, new float[] {0, 0, -1, 0, 0},
16 | new float[] {0, 0, 0, 1, 0}, new float[] {1, 1, 1, 0, 1}
17 | });
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/arrow.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/arrowshadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/arrowshadow.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/black_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/black_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/blue-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/blue-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/blue-pushpin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/blue-pushpin.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/blue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/blue.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/blue_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/blue_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/brown_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/brown_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/drag_cross_67_16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/drag_cross_67_16.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/go-big-green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/go-big-green.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/gray_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/gray_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/green-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/green-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/green.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/green.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/green_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/green_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/grn-pushpin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/grn-pushpin.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/lightblue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/lightblue.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/ltblu-pushpin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/ltblu-pushpin.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/ltblue-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/ltblue-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/msmarker.shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/msmarker.shadow.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/orange-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/orange-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/orange.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/orange_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/orange_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/pause-big-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/pause-big-red.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/pause-big-yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/pause-big-yellow.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/pink-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/pink-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/pink-pushpin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/pink-pushpin.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/pink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/pink.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/purple-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/purple-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/purple-pushpin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/purple-pushpin.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/purple.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/purple_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/purple_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/pushpin_shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/pushpin_shadow.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/red-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/red-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/red-pushpin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/red-pushpin.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/red.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/red_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/red_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/shadow_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/shadow_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/stop-big-red.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/stop-big-red.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/white_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/white_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/yellow-dot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/yellow-dot.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/yellow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/yellow.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/yellow_small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/yellow_small.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsForms/Resources/ylw-pushpin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.NET/GMap.NET.WindowsForms/Resources/ylw-pushpin.png
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsPresentation/GMap.NET.WindowsPresentation.csproj.DotSettings:
--------------------------------------------------------------------------------
1 |
2 | True
--------------------------------------------------------------------------------
/GMap.NET/GMap.NET.WindowsPresentation/TilePrefetcher.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
10 |
12 |
13 |
--------------------------------------------------------------------------------
/GMap.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/GMap.ico
--------------------------------------------------------------------------------
/Testing/BigMapMaker/BigMapMaker.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net48;net5.0-windows
5 | Exe
6 | win-x64
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Testing/BingWpfFusion/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Testing/BingWpfFusion/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace BingMapsWpfUsingCache
4 | {
5 | ///
6 | /// Interaction logic for App.xaml
7 | ///
8 | public partial class App : Application
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Testing/BingWpfFusion/BingWpfFusion.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net48;net5.0-windows;net6.0-windows
5 | true
6 | WinExe
7 | win-x64
8 | true
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Testing/BingWpfFusion/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Testing/ConsoleApplication/ConsoleApplication.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net48;net5.0
5 | Exe
6 | true
7 | ../../sn.snk
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Testing/Demo.Clouds/Demo.Clouds.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net48;net5.0-windows
5 | true
6 | WinExe
7 | win-x64
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | True
17 | True
18 | Resources.resx
19 |
20 |
21 |
22 |
23 |
24 | ResXFileCodeGenerator
25 | Resources.Designer.cs
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/Testing/Demo.Clouds/Images/USOverlay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/Demo.Clouds/Images/USOverlay.png
--------------------------------------------------------------------------------
/Testing/Demo.Clouds/MapControl.cs:
--------------------------------------------------------------------------------
1 | using GMap.NET.WindowsForms;
2 |
3 | namespace CloudsDemo
4 | {
5 | public partial class MapControl : GMapControl
6 | {
7 | public MapControl()
8 | {
9 | InitializeComponent();
10 | }
11 |
12 | protected override void OnPaintOverlays(System.Drawing.Graphics g)
13 | {
14 | base.OnPaintOverlays(g);
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Testing/Demo.Clouds/Markers/GMapImage.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 | using GMap.NET.WindowsForms;
3 |
4 | namespace CloudsDemo
5 | {
6 | public class GMapImage : GMapMarker
7 | {
8 | private Image image;
9 |
10 | public Image Image
11 | {
12 | get
13 | {
14 | return image;
15 | }
16 | set
17 | {
18 | image = value;
19 | if (image != null)
20 | {
21 | Size = new Size(image.Width, image.Height);
22 | }
23 | }
24 | }
25 |
26 | public GMapImage(GMap.NET.PointLatLng p)
27 | : base(p)
28 | {
29 | DisableRegionCheck = true;
30 | IsHitTestVisible = false;
31 | }
32 |
33 | public override void OnRender(Graphics g)
34 | {
35 | if (image == null)
36 | return;
37 |
38 | g.DrawImage(image, LocalPosition.X, LocalPosition.Y, Size.Width, Size.Height);
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/Testing/Demo.Clouds/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 |
4 | namespace CloudsDemo
5 | {
6 | static class Program
7 | {
8 | ///
9 | /// The main entry point for the application.
10 | ///
11 | [STAThread]
12 | static void Main()
13 | {
14 | Application.EnableVisualStyles();
15 | Application.SetCompatibleTextRenderingDefault(false);
16 | Application.Run(new MainForm());
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Testing/Demo.Docking/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Testing/Demo.Docking/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace Sample3
4 | {
5 | ///
6 | /// Interaction logic for App.xaml
7 | ///
8 | public partial class App : Application
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Testing/Demo.Docking/Demo.Docking.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net48
5 | true
6 | WinExe
7 | win-x64
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Testing/Demo.Geocoding/Demo.Geocoding.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net48;net5.0-windows
5 | true
6 | WinExe
7 | win-x64
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Testing/Demo.Geocoding/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 |
4 | namespace Demo.Geocoding
5 | {
6 | static class Program
7 | {
8 | ///
9 | /// Punto de entrada principal para la aplicación.
10 | ///
11 | [STAThread]
12 | static void Main()
13 | {
14 | Application.EnableVisualStyles();
15 | Application.SetCompatibleTextRenderingDefault(false);
16 | Application.Run(new FormMainMap());
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Testing/Demo.StreetView/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Testing/Demo.StreetView/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace Demo.StreetView
4 | {
5 | ///
6 | /// Interaction logic for App.xaml
7 | ///
8 | public partial class App : Application
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Testing/Demo.StreetView/Demo.StreetView.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net48;net5.0-windows
5 | true
6 | WinExe
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Testing/Demo.StreetView/Window1.xaml:
--------------------------------------------------------------------------------
1 |
8 |
10 |
--------------------------------------------------------------------------------
/Testing/Demo.Testing/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 |
5 | namespace Demo.Testing
6 | {
7 | static class Program
8 | {
9 | ///
10 | /// The main entry point for the application.
11 | ///
12 | [STAThread]
13 | static void Main()
14 | {
15 | Application.EnableVisualStyles();
16 | Application.SetCompatibleTextRenderingDefault(false);
17 | Application.Run(new Form1());
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Testing/Demo.Testing/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Testing/Demo.Testing/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/accordion.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * jQuery UI Accordion 1.11.4
3 | * http://jqueryui.com
4 | *
5 | * Copyright jQuery Foundation and other contributors
6 | * Released under the MIT license.
7 | * http://jquery.org/license
8 | *
9 | * http://api.jqueryui.com/accordion/#theming
10 | */
11 | .ui-accordion .ui-accordion-header {
12 | display: block;
13 | cursor: pointer;
14 | position: relative;
15 | margin: 2px 0 0 0;
16 | padding: .5em .5em .5em .7em;
17 | min-height: 0; /* support: IE7 */
18 | font-size: 100%;
19 | }
20 | .ui-accordion .ui-accordion-icons {
21 | padding-left: 2.2em;
22 | }
23 | .ui-accordion .ui-accordion-icons .ui-accordion-icons {
24 | padding-left: 2.2em;
25 | }
26 | .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
27 | position: absolute;
28 | left: .5em;
29 | top: 50%;
30 | margin-top: -8px;
31 | }
32 | .ui-accordion .ui-accordion-content {
33 | padding: 1em 2.2em;
34 | border-top: 0;
35 | overflow: auto;
36 | }
37 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/all.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * jQuery UI CSS Framework 1.11.4
3 | * http://jqueryui.com
4 | *
5 | * Copyright jQuery Foundation and other contributors
6 | * Released under the MIT license.
7 | * http://jquery.org/license
8 | *
9 | * http://api.jqueryui.com/category/theming/
10 | */
11 | @import "base.css";
12 | @import "theme.css";
13 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/autocomplete.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * jQuery UI Autocomplete 1.11.4
3 | * http://jqueryui.com
4 | *
5 | * Copyright jQuery Foundation and other contributors
6 | * Released under the MIT license.
7 | * http://jquery.org/license
8 | *
9 | * http://api.jqueryui.com/autocomplete/#theming
10 | */
11 | .ui-autocomplete {
12 | position: absolute;
13 | top: 0;
14 | left: 0;
15 | cursor: default;
16 | }
17 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/base.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * jQuery UI CSS Framework 1.11.4
3 | * http://jqueryui.com
4 | *
5 | * Copyright jQuery Foundation and other contributors
6 | * Released under the MIT license.
7 | * http://jquery.org/license
8 | *
9 | * http://api.jqueryui.com/category/theming/
10 | */
11 | @import url("core.css");
12 |
13 | @import url("accordion.css");
14 | @import url("autocomplete.css");
15 | @import url("button.css");
16 | @import url("datepicker.css");
17 | @import url("dialog.css");
18 | @import url("draggable.css");
19 | @import url("menu.css");
20 | @import url("progressbar.css");
21 | @import url("resizable.css");
22 | @import url("selectable.css");
23 | @import url("selectmenu.css");
24 | @import url("sortable.css");
25 | @import url("slider.css");
26 | @import url("spinner.css");
27 | @import url("tabs.css");
28 | @import url("tooltip.css");
29 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/draggable.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * jQuery UI Draggable 1.11.4
3 | * http://jqueryui.com
4 | *
5 | * Copyright jQuery Foundation and other contributors
6 | * Released under the MIT license.
7 | * http://jquery.org/license
8 | */
9 | .ui-draggable-handle {
10 | -ms-touch-action: none;
11 | touch-action: none;
12 | }
13 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_75_dadada_1x400.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_222222_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_222222_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_2e83ff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_2e83ff_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_444444_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_444444_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_454545_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_454545_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_555555_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_555555_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_777620_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_777620_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_777777_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_777777_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_888888_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_888888_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_cc0000_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_cc0000_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_cd0a0a_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_cd0a0a_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_ffffff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Testing/MvcMapFusion/Content/themes/base/images/ui-icons_ffffff_256x240.png
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/jquery.ui.all.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Note: While Microsoft is not the author of this file, Microsoft is
3 | * offering you a license subject to the terms of the Microsoft Software
4 | * License Terms for Microsoft ASP.NET Model View Controller 3.
5 | * Microsoft reserves all other rights. The notices below are provided
6 | * for informational purposes only and are not the license terms under
7 | * which Microsoft distributed this file.
8 | *
9 | * jQuery UI CSS Framework 1.8.11
10 | *
11 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12 | *
13 | * http://docs.jquery.com/UI/Theming
14 | */
15 | @import "jquery.ui.base.css";
16 | @import "jquery.ui.theme.css";
17 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/jquery.ui.progressbar.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Note: While Microsoft is not the author of this file, Microsoft is
3 | * offering you a license subject to the terms of the Microsoft Software
4 | * License Terms for Microsoft ASP.NET Model View Controller 3.
5 | * Microsoft reserves all other rights. The notices below are provided
6 | * for informational purposes only and are not the license terms under
7 | * which Microsoft distributed this file.
8 | *
9 | * jQuery UI Progressbar 1.8.11
10 | *
11 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12 | *
13 | * http://docs.jquery.com/UI/Progressbar#theming
14 | */
15 | .ui-progressbar { height:2em; text-align: left; }
16 | .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/jquery.ui.selectable.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Note: While Microsoft is not the author of this file, Microsoft is
3 | * offering you a license subject to the terms of the Microsoft Software
4 | * License Terms for Microsoft ASP.NET Model View Controller 3.
5 | * Microsoft reserves all other rights. The notices below are provided
6 | * for informational purposes only and are not the license terms under
7 | * which Microsoft distributed this file.
8 | *
9 | * jQuery UI Selectable 1.8.11
10 | *
11 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
12 | *
13 | * http://docs.jquery.com/UI/Selectable#theming
14 | */
15 | .ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
16 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/selectable.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * jQuery UI Selectable 1.11.4
3 | * http://jqueryui.com
4 | *
5 | * Copyright jQuery Foundation and other contributors
6 | * Released under the MIT license.
7 | * http://jquery.org/license
8 | */
9 | .ui-selectable {
10 | -ms-touch-action: none;
11 | touch-action: none;
12 | }
13 | .ui-selectable-helper {
14 | position: absolute;
15 | z-index: 100;
16 | border: 1px dotted black;
17 | }
18 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/sortable.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * jQuery UI Sortable 1.11.4
3 | * http://jqueryui.com
4 | *
5 | * Copyright jQuery Foundation and other contributors
6 | * Released under the MIT license.
7 | * http://jquery.org/license
8 | */
9 | .ui-sortable-handle {
10 | -ms-touch-action: none;
11 | touch-action: none;
12 | }
13 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Content/themes/base/tooltip.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * jQuery UI Tooltip 1.11.4
3 | * http://jqueryui.com
4 | *
5 | * Copyright jQuery Foundation and other contributors
6 | * Released under the MIT license.
7 | * http://jquery.org/license
8 | *
9 | * http://api.jqueryui.com/tooltip/#theming
10 | */
11 | .ui-tooltip {
12 | padding: 8px;
13 | position: absolute;
14 | z-index: 9999;
15 | max-width: 300px;
16 | -webkit-box-shadow: 0 0 5px #aaa;
17 | box-shadow: 0 0 5px #aaa;
18 | }
19 | body .ui-tooltip {
20 | border-width: 2px;
21 | }
22 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Controllers/HomeController.cs:
--------------------------------------------------------------------------------
1 | using System.Web.Mvc;
2 |
3 | namespace MvcMapFusion.Controllers
4 | {
5 | public class HomeController : Controller
6 | {
7 | public ActionResult Index()
8 | {
9 | return View();
10 | }
11 |
12 | public ActionResult About()
13 | {
14 | return View();
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Global.asax:
--------------------------------------------------------------------------------
1 | <%@ Application Codebehind="Global.asax.cs" Inherits="MvcMapFusion.MvcApplication" Language="C#" %>
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "iisSettings": {
3 | "windowsAuthentication": false,
4 | "anonymousAuthentication": true,
5 | "iisExpress": {
6 | "applicationUrl": "http://localhost:18082/",
7 | "sslPort": 0
8 | }
9 | },
10 | "profiles": {
11 | "IIS Express": {
12 | "commandName": "IISExpress",
13 | "launchBrowser": true,
14 | "environmentVariables": {
15 | "ASPNETCORE_ENVIRONMENT": "Development"
16 | }
17 | },
18 | "MvcMapFusion": {
19 | "commandName": "Project",
20 | "launchBrowser": true,
21 | "environmentVariables": {
22 | "ASPNETCORE_ENVIRONMENT": "Development"
23 | },
24 | "applicationUrl": "http://localhost:18082/"
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/README.jQuery.vsdoc.txt:
--------------------------------------------------------------------------------
1 | vsdoc files for Visual Studio IntelliSense are now included in the core jquery NuGet package. As a result, this pacakge is obsolete and will not be updated past version 1.6. You can uninstall it.
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Views/Shared/Error.cshtml:
--------------------------------------------------------------------------------
1 | @model System.Web.Mvc.HandleErrorInfo
2 |
3 | @{
4 | ViewBag.Title = "Error";
5 | }
6 |
7 |
8 | Sorry, an error occurred while processing your request.
9 |
--------------------------------------------------------------------------------
/Testing/MvcMapFusion/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "~/Views/Shared/_Layout.cshtml";
3 | }
--------------------------------------------------------------------------------
/Testing/Silverlight/SilverlightMapFusion.Web/MainForm.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.Web.UI;
4 | using GMap.NET;
5 |
6 | namespace SilverlightMapFusion.Web
7 | {
8 | public partial class MainForm : Page
9 | {
10 | static MainForm()
11 | {
12 | try
13 | {
14 | //GMapProvider.WebProxy = WebRequest.DefaultWebProxy;
15 | // or
16 | //GMapProvider.WebProxy = new WebProxy("127.0.0.1", 1080);
17 | //GMapProvider.IsSocksProxy = true;
18 |
19 | GMaps.Instance.EnableTileHost(8844);
20 | }
21 | catch (Exception ex)
22 | {
23 | Debug.WriteLine("MainForm: " + ex);
24 | throw;
25 | }
26 |
27 | //GMaps.Instance.DisableTileHost();
28 | //GMaps.Instance.CancelTileCaching();
29 | }
30 |
31 | protected void Page_Load(object sender, EventArgs e)
32 | {
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Testing/Silverlight/SilverlightMapFusion.Web/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Testing/Silverlight/SilverlightMapFusion/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Testing/Silverlight/SilverlightMapFusion/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Testing/Silverlight/SilverlightMapFusion/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Controls;
3 | using Microsoft.Maps.MapControl;
4 |
5 | namespace SilverlightMapFusion
6 | {
7 | public partial class MainPage : UserControl
8 | {
9 | public MainPage()
10 | {
11 | InitializeComponent();
12 | }
13 | }
14 |
15 | public class CustomTileSource : TileSource
16 | {
17 | readonly string UrlFormat = "http://localhost:8844/{0}/{1}/{2}/{3}";
18 | readonly int DbId = 1492776782; //GMapProviders.OpenStreetMap.DbId;
19 |
20 | // keep in mind that bing only supports mercator based maps
21 |
22 | public override Uri GetUri(int x, int y, int zoomLevel)
23 | {
24 | return new Uri(string.Format(UrlFormat, DbId, zoomLevel, x, y));
25 | }
26 | }
27 |
28 | public class CustomTileLayer : MapTileLayer
29 | {
30 | public CustomTileLayer()
31 | {
32 | this.TileSources.Add(new CustomTileSource());
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Testing/Silverlight/SilverlightMapFusion/Properties/AppManifest.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Testing/Silverlight/SilverlightMapFusion/Properties/OutOfBrowserSettings.xml:
--------------------------------------------------------------------------------
1 |
2 | SilverlightMapFusion Application on your desktop; at home, at work or on the go.
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Testing/TemplatedBinding/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Testing/TemplatedBinding/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace TemplatedBinding
4 | {
5 | ///
6 | /// Interaction logic for App.xaml
7 | ///
8 | public partial class App : Application
9 | {
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Testing/TemplatedBinding/TemplatedBinding.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net48;net5.0-windows
5 | true
6 | WinExe
7 | win-x64
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/BackMaker/UsageException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace BackMaker
4 | {
5 | public class UsageException : Exception
6 | {
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/Info.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Tools/MapCruncher/Info.pdf
--------------------------------------------------------------------------------
/Tools/MapCruncher/Jama/Jama.util/Maths.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Jama.util
4 | {
5 | public class Maths
6 | {
7 | public static double hypot(double a, double b)
8 | {
9 | double num;
10 | if (Math.Abs(a) > Math.Abs(b))
11 | {
12 | num = b / a;
13 | num = Math.Abs(a) * Math.Sqrt(1.0 + num * num);
14 | }
15 | else
16 | {
17 | if (b != 0.0)
18 | {
19 | num = a / b;
20 | num = Math.Abs(b) * Math.Sqrt(1.0 + num * num);
21 | }
22 | else
23 | {
24 | num = 0.0;
25 | }
26 | }
27 |
28 | return num;
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/Jama/Jama/CorrespondencesAreSingularException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Jama
4 | {
5 | public class CorrespondencesAreSingularException : Exception
6 | {
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline.AsynchronizerPrivate/AsynchronizerFuture.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline.AsynchronizerPrivate
2 | {
3 | internal class AsynchronizerFuture : FutureBase
4 | {
5 | private AsyncScheduler scheduler;
6 | private IFuture innerFuture;
7 |
8 | public AsynchronizerFuture(AsyncScheduler scheduler, IFuture innerFuture)
9 | {
10 | this.scheduler = scheduler;
11 | this.innerFuture = innerFuture;
12 | }
13 |
14 | public override Present Realize(string refCredit)
15 | {
16 | return new AsyncRef(new AsyncRecord(scheduler, this, innerFuture), refCredit);
17 | }
18 |
19 | public override void AccumulateRobustHash(IRobustHash hash)
20 | {
21 | hash.Accumulate("AsynchronizerFuture(");
22 | innerFuture.AccumulateRobustHash(hash);
23 | hash.Accumulate(")");
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/AccessMethod.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public enum AccessMethod
4 | {
5 | Render,
6 | FetchBounds,
7 | ImageDetail,
8 | RendererCredit
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/AlwaysReturnFailureFuture.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class AlwaysReturnFailureFuture : IFuture, IRobustlyHashable, IFuturePrototype
4 | {
5 | private PresentFailureCode pfc;
6 |
7 | public AlwaysReturnFailureFuture(PresentFailureCode pfc)
8 | {
9 | this.pfc = pfc;
10 | }
11 |
12 | public IFuture Curry(ParamDict paramDict)
13 | {
14 | return this;
15 | }
16 |
17 | public Present Realize(string refCredit)
18 | {
19 | return pfc;
20 | }
21 |
22 | public void AccumulateRobustHash(IRobustHash hash)
23 | {
24 | hash.Accumulate("DocumentDelayedFuture");
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ApplyPrototype.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class ApplyPrototype : IFuturePrototype
6 | {
7 | private Verb verb;
8 | private IFuturePrototype[] prototypeParams;
9 |
10 | public ApplyPrototype(Verb verb, params IFuturePrototype[] prototypeParams)
11 | {
12 | this.verb = verb;
13 | this.prototypeParams = prototypeParams;
14 | }
15 |
16 | public IFuture Curry(ParamDict paramDict)
17 | {
18 | IFuture[] futureParams = Array.ConvertAll(prototypeParams,
19 | (IFuturePrototype p) => p.Curry(paramDict));
20 | return new ApplyFuture(verb, futureParams);
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ApplyVerbPresent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class ApplyVerbPresent : Verb
6 | {
7 | public Present Evaluate(Present[] paramList)
8 | {
9 | if (paramList[0] is PresentFailureCode)
10 | {
11 | return new PresentFailureCode((PresentFailureCode)paramList[0], "ApplyVerbPresent");
12 | }
13 |
14 | if (!(paramList[0] is VerbPresent))
15 | {
16 | return PresentFailureCode.FailedCast(paramList[0], "ApplyVerbPresent");
17 | }
18 |
19 | Present[] array = new Present[paramList.Length - 1];
20 | Array.Copy(paramList, 1, array, 0, paramList.Length - 1);
21 | return ((VerbPresent)paramList[0]).Evaluate(array);
22 | }
23 |
24 | public void AccumulateRobustHash(IRobustHash hash)
25 | {
26 | hash.Accumulate("ApplyVerbPresent");
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/AsyncRecordCache.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class AsyncRecordCache : MemoryCache
4 | {
5 | private bool keepClean;
6 |
7 | public AsyncRecordCache(string debugName, bool keepClean) : base(debugName)
8 | {
9 | this.keepClean = keepClean;
10 | }
11 |
12 | protected override void Clean()
13 | {
14 | if (keepClean)
15 | {
16 | base.Clean();
17 | }
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/AsyncState.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal enum AsyncState
4 | {
5 | Prequeued,
6 | Queued
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/Asynchronizer.cs:
--------------------------------------------------------------------------------
1 | using MSR.CVE.BackMaker.ImagePipeline.AsynchronizerPrivate;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | internal class Asynchronizer : IFuturePrototype
6 | {
7 | private AsyncScheduler scheduler;
8 | private IFuturePrototype innerPrototype;
9 |
10 | public Asynchronizer(AsyncScheduler scheduler, IFuturePrototype innerPrototype)
11 | {
12 | this.scheduler = scheduler;
13 | this.innerPrototype = innerPrototype;
14 | }
15 |
16 | public IFuture Curry(ParamDict paramDict)
17 | {
18 | return MakeFuture(scheduler, innerPrototype.Curry(paramDict));
19 | }
20 |
21 | public static IFuture MakeFuture(AsyncScheduler scheduler, IFuture innerFuture)
22 | {
23 | return new MemCacheFuture(scheduler.GetCache(), new AsynchronizerFuture(scheduler, innerFuture));
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/BeyondImageBounds.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class BeyondImageBounds : Present, IDisposable
6 | {
7 | public Present Duplicate(string refCredit)
8 | {
9 | return this;
10 | }
11 |
12 | public void Dispose()
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/BoolParameter.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class BoolParameter : ImmutableParameter
4 | {
5 | public BoolParameter(bool value) : base(value)
6 | {
7 | }
8 |
9 | public override void AccumulateRobustHash(IRobustHash hash)
10 | {
11 | hash.Accumulate(value);
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/BoundsPresent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class BoundsPresent : Present, IDisposable, IBoundsProvider
6 | {
7 | private RenderRegion _renderRegion;
8 |
9 | public BoundsPresent(RenderRegion renderRegion)
10 | {
11 | _renderRegion = renderRegion;
12 | }
13 |
14 | public RenderRegion GetRenderRegion()
15 | {
16 | return _renderRegion;
17 | }
18 |
19 | public Present Duplicate(string refCredit)
20 | {
21 | return this;
22 | }
23 |
24 | public void Dispose()
25 | {
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ClockCacheRecord.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal class ClockCacheRecord : CacheRecord
4 | {
5 | public bool touched = true;
6 |
7 | public ClockCacheRecord(IFuture future) : base(future)
8 | {
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ConstantFuture.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal class ConstantFuture : FutureBase
4 | {
5 | private Parameter parameter;
6 |
7 | public ConstantFuture(Parameter parameter)
8 | {
9 | this.parameter = parameter;
10 | }
11 |
12 | public override Present Realize(string refCredit)
13 | {
14 | return parameter;
15 | }
16 |
17 | public override void AccumulateRobustHash(IRobustHash hash)
18 | {
19 | parameter.AccumulateRobustHash(hash);
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ConstantVerb.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class ConstantVerb : Verb
6 | {
7 | private Present constantPresent;
8 |
9 | public ConstantVerb()
10 | {
11 | constantPresent = new PresentFailureCode(new Exception("Null ConstantVerb"));
12 | }
13 |
14 | public ConstantVerb(Present constantPresent)
15 | {
16 | this.constantPresent = constantPresent;
17 | }
18 |
19 | public Present Evaluate(Present[] paramList)
20 | {
21 | return constantPresent;
22 | }
23 |
24 | public void AccumulateRobustHash(IRobustHash hash)
25 | {
26 | hash.Accumulate("Constant");
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/CoordinateSystemIfc.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public interface CoordinateSystemIfc
6 | {
7 | LatLonZoom GetDefaultView();
8 | LatLonZoom GetTranslationInLatLon(LatLonZoom center, Point offsetInPixels);
9 | RangeInt GetZoomRange();
10 | RangeDouble GetLatRange();
11 | RangeDouble GetLonRange();
12 | Point GetTranslationInPixels(LatLonZoom center, LatLon location);
13 | LatLonZoom GetBestViewContaining(MapRectangle newBounds, Size size);
14 | TileDisplayDescriptorArray GetTileArrayDescriptor(LatLonZoom center, Size windowSize);
15 | MapRectangle GetUnclippedMapWindow(LatLonZoom latLonZoom, Size size);
16 | LatLon GetLatLonOfTileNW(TileAddress tileAddress);
17 | ITileAddressLayout GetTileAddressLayout();
18 | Size GetTileSize();
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/DiskCacheFuture.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal class DiskCacheFuture : FutureBase
4 | {
5 | private DiskCache cache;
6 | private IFuture future;
7 |
8 | public DiskCacheFuture(DiskCache cache, IFuture future)
9 | {
10 | this.cache = cache;
11 | this.future = future;
12 | }
13 |
14 | public override Present Realize(string refCredit)
15 | {
16 | return cache.Get(future, refCredit);
17 | }
18 |
19 | public override void AccumulateRobustHash(IRobustHash hash)
20 | {
21 | hash.Accumulate("DiskCache(");
22 | future.AccumulateRobustHash(hash);
23 | hash.Accumulate(")");
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/DiskCachePrototype.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal class DiskCachePrototype : IFuturePrototype
4 | {
5 | private DiskCache cache;
6 | private IFuturePrototype prototype;
7 |
8 | public DiskCachePrototype(DiskCache cache, IFuturePrototype prototype)
9 | {
10 | this.cache = cache;
11 | this.prototype = prototype;
12 | }
13 |
14 | public IFuture Curry(ParamDict paramDict)
15 | {
16 | return new DiskCacheFuture(cache, prototype.Curry(paramDict));
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/DummyTerm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | internal class DummyTerm : Parameter, IRobustlyHashable, Present, IDisposable
6 | {
7 | public void AccumulateRobustHash(IRobustHash hash)
8 | {
9 | hash.Accumulate("DummyTerm");
10 | }
11 |
12 | public Present Duplicate(string refCredit)
13 | {
14 | return this;
15 | }
16 |
17 | public void Dispose()
18 | {
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/EncodableHash.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class EncodableHash : StrongHash
4 | {
5 | public EncodableHash()
6 | {
7 | }
8 |
9 | public EncodableHash(MashupParseContext ctx) : base(ctx)
10 | {
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ExactColors.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public enum ExactColors
4 | {
5 | exact,
6 | antialiased
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/FakeOpenDocumentFuture.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | internal class FakeOpenDocumentFuture : IFuture, IRobustlyHashable, IFuturePrototype
6 | {
7 | public Present Realize(string refCredit)
8 | {
9 | return new PresentFailureCode(new Exception("No document here."));
10 | }
11 |
12 | public void AccumulateRobustHash(IRobustHash hash)
13 | {
14 | hash.Accumulate("FakeOpenDocumentFuture");
15 | }
16 |
17 | public IFuture Curry(ParamDict paramDict)
18 | {
19 | return this;
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/FastPoly1PointTransformer.cs:
--------------------------------------------------------------------------------
1 | using Jama;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | internal class FastPoly1PointTransformer : IPolyPointTransformer
6 | {
7 | private double[] c = new double[6];
8 |
9 | public FastPoly1PointTransformer(JamaMatrix matrix) : base(matrix)
10 | {
11 | polynomialDegree = 1;
12 | for (int i = 0; i < 6; i++)
13 | {
14 | c[i] = matrix.GetElement(i, 0);
15 | }
16 | }
17 |
18 | public override void doTransform(PointD p0, PointD p1)
19 | {
20 | double arg_06_0 = p0.x;
21 | double arg_0D_0 = p0.x;
22 | double arg_14_0 = p0.x;
23 | double arg_1B_0 = p0.y;
24 | double arg_22_0 = p0.y;
25 | double arg_29_0 = p0.y;
26 | p1.x = c[0] + c[1] * p0.y + c[2] * p0.x;
27 | p1.y = c[3] + c[4] * p0.y + c[5] * p0.x;
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/FastPoly2PointTransformer.cs:
--------------------------------------------------------------------------------
1 | using Jama;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | internal class FastPoly2PointTransformer : IPolyPointTransformer
6 | {
7 | private double[] c = new double[12];
8 |
9 | public FastPoly2PointTransformer(JamaMatrix matrix) : base(matrix)
10 | {
11 | polynomialDegree = 2;
12 | for (int i = 0; i < 12; i++)
13 | {
14 | c[i] = matrix.GetElement(i, 0);
15 | }
16 | }
17 |
18 | public override void doTransform(PointD p0, PointD p1)
19 | {
20 | double num = p0.x * p0.x;
21 | double num2 = p0.x * p0.y;
22 | double num3 = p0.y * p0.y;
23 | p1.x = c[0] + c[1] * p0.y + c[2] * num3 + c[3] * p0.x + c[4] * num2 +
24 | c[5] * num;
25 | p1.y = c[6] + c[7] * p0.y + c[8] * num3 + c[9] * p0.x + c[10] * num2 +
26 | c[11] * num;
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/FlatAddressLayout.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class FlatAddressLayout : ITileAddressLayout
4 | {
5 | public int XValueOneTileEast(TileAddress ta)
6 | {
7 | return ta.TileX + 1;
8 | }
9 |
10 | public int YValueOneTileSouth(TileAddress ta)
11 | {
12 | return ta.TileY - 1;
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/FoxitOpenVerb.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class FoxitOpenVerb : Verb
6 | {
7 | public Present Evaluate(Present[] paramList)
8 | {
9 | StringParameter stringParameter = (StringParameter)paramList[0];
10 | IntParameter intParameter = (IntParameter)paramList[1];
11 | D.Assert(paramList.Length == 2);
12 | Present result;
13 | try
14 | {
15 | result = new FoxitOpenDocument(stringParameter.value, intParameter.value);
16 | }
17 | catch (Exception ex)
18 | {
19 | result = new PresentFailureCode(ex);
20 | }
21 |
22 | return result;
23 | }
24 |
25 | public void AccumulateRobustHash(IRobustHash hash)
26 | {
27 | hash.Accumulate("FoxitOpenVerb");
28 | }
29 |
30 | public string GetRendererName()
31 | {
32 | return "FoxIt";
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/FutureBase.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public abstract class FutureBase : IFuture, IRobustlyHashable, IFuturePrototype
4 | {
5 | public abstract Present Realize(string refCredit);
6 | public abstract void AccumulateRobustHash(IRobustHash hash);
7 |
8 | public override int GetHashCode()
9 | {
10 | return RobustHashTools.GetHashCode(this);
11 | }
12 |
13 | public override bool Equals(object o2)
14 | {
15 | return RobustHashTools.StaticEquals(this, o2);
16 | }
17 |
18 | public override string ToString()
19 | {
20 | return RobustHashTools.DebugString(this);
21 | }
22 |
23 | public IFuture Curry(ParamDict paramDict)
24 | {
25 | return this;
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/FutureFeatures.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public enum FutureFeatures
4 | {
5 | Raw,
6 | MemoryCached,
7 | DiskCached,
8 | Cached,
9 | Async,
10 | Transparency = 8,
11 | ExactColors = 16
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/HashableImmutableParameter.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class HashableImmutableParameter : ImmutableParameter where T : IRobustlyHashable
4 | {
5 | public HashableImmutableParameter(T value) : base(value)
6 | {
7 | }
8 |
9 | public override void AccumulateRobustHash(IRobustHash hash)
10 | {
11 | T value = this.value;
12 | value.AccumulateRobustHash(hash);
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IBoundsProvider.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface IBoundsProvider
4 | {
5 | RenderRegion GetRenderRegion();
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IDisplayableSource.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface IDisplayableSource
4 | {
5 | CoordinateSystemIfc GetDefaultCoordinateSystem();
6 | string GetRendererCredit();
7 | IFuture GetUserBounds(LatentRegionHolder latentRegionHolder, FutureFeatures features);
8 | IFuturePrototype GetImagePrototype(ImageParameterTypeIfc parameterType, FutureFeatures features);
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IDocumentFuture.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface IDocumentFuture : IFuture, IRobustlyHashable, IFuturePrototype
4 | {
5 | string GetDefaultDisplayName();
6 | void WriteXML(MashupWriteContext context, string pathBase);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IDocumentSource.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface IDocumentSource
4 | {
5 | IFuture GetOpenDocumentFuture(FutureFeatures features);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IEvictable.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface IEvictable
4 | {
5 | bool EvictMeNow();
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IFuture.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface IFuture : IRobustlyHashable, IFuturePrototype
4 | {
5 | Present Realize(string refCredit);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IFuturePrototype.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface IFuturePrototype
4 | {
5 | IFuture Curry(ParamDict paramDict);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IRenderableSource.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public interface IRenderableSource : IComparable, IDisplayableSource
6 | {
7 | string GetSourceMapDisplayName();
8 | IFuture GetOpenDocumentFuture(FutureFeatures features);
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IRobustHash.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public interface IRobustHash
6 | {
7 | void Accumulate(int input);
8 | void Accumulate(long input);
9 | void Accumulate(Size size);
10 | void Accumulate(double value);
11 | void Accumulate(string value);
12 | void Accumulate(bool value);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IRobustlyHashable.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface IRobustlyHashable
4 | {
5 | void AccumulateRobustHash(IRobustHash hash);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ISourceMapRendererVerbs.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface ISourceMapRendererVerbs
4 | {
5 | Verb GetOpenVerb();
6 | Verb GetRenderVerb(bool useDocumentTransparency);
7 | Verb GetFetchBoundsVerb();
8 | Verb GetImageDetailVerb();
9 | string GetRendererCredit();
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ITileAddressLayout.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface ITileAddressLayout
4 | {
5 | int XValueOneTileEast(TileAddress ta);
6 | int YValueOneTileSouth(TileAddress ta);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ImageParameterTypeIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface ImageParameterTypeIfc
4 | {
5 | IFuturePrototype GetBoundsParameter();
6 | IFuturePrototype GetSizeParameter();
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ImmutableParameter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public abstract class ImmutableParameter : Parameter, IRobustlyHashable, Present, IDisposable
6 | {
7 | public T value
8 | {
9 | get;
10 | }
11 |
12 | public ImmutableParameter(T value)
13 | {
14 | this.value = value;
15 | }
16 |
17 | public Present Duplicate(string refCredit)
18 | {
19 | return this;
20 | }
21 |
22 | public void Dispose()
23 | {
24 | }
25 |
26 | public abstract void AccumulateRobustHash(IRobustHash hash);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/InjectedTileFailure.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class InjectedTileFailure : PresentFailureCode, IEvictable
4 | {
5 | public InjectedTileFailure() : base("Injected Tile Failure")
6 | {
7 | }
8 |
9 | public bool EvictMeNow()
10 | {
11 | return true;
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/InsufficientCorrespondencesException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class InsufficientCorrespondencesException : Exception
6 | {
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/IntParameter.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class IntParameter : ImmutableParameter
4 | {
5 | public IntParameter(int value) : base(value)
6 | {
7 | }
8 |
9 | public override void AccumulateRobustHash(IRobustHash hash)
10 | {
11 | hash.Accumulate(value);
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/LatLonToSourceTransform.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class LatLonToSourceTransform : IPointTransformer
6 | {
7 | private IPointTransformer mercatorToSource;
8 |
9 | public LatLonToSourceTransform(IPointTransformer mercatorToSource)
10 | {
11 | this.mercatorToSource = mercatorToSource;
12 | }
13 |
14 | public override void doTransform(PointD p0, PointD p1)
15 | {
16 | PointD transformedPoint =
17 | mercatorToSource.getTransformedPoint(MercatorCoordinateSystem.LatLonToMercator(p0));
18 | p1.x = transformedPoint.x;
19 | p1.y = transformedPoint.y;
20 | }
21 |
22 | public override IPointTransformer getInversePointTransfomer()
23 | {
24 | throw new NotImplementedException();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/MapRectangleParameter.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class MapRectangleParameter : HashableImmutableParameter
4 | {
5 | public MapRectangleParameter(MapRectangle value) : base(value)
6 | {
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/MemCachePrototype.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal class MemCachePrototype : IFuturePrototype
4 | {
5 | private CacheBase cache;
6 | private IFuturePrototype prototype;
7 |
8 | public MemCachePrototype(CacheBase cache, IFuturePrototype prototype)
9 | {
10 | this.cache = cache;
11 | this.prototype = prototype;
12 | }
13 |
14 | public IFuture Curry(ParamDict paramDict)
15 | {
16 | return new MemCacheFuture(cache, prototype.Curry(paramDict));
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/OpenDocumentSensitivePrioritizedPrototype.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class OpenDocumentSensitivePrioritizedPrototype : IFuturePrototype
4 | {
5 | private OpenDocumentSensitivePrioritizer prioritizer;
6 | private IFuturePrototype prototype;
7 | private IFuture openDocumentFuture;
8 |
9 | public OpenDocumentSensitivePrioritizedPrototype(OpenDocumentSensitivePrioritizer prioritizer,
10 | IFuturePrototype prototype, IFuture openDocumentFuture)
11 | {
12 | this.prioritizer = prioritizer;
13 | this.prototype = prototype;
14 | this.openDocumentFuture = openDocumentFuture;
15 | }
16 |
17 | public IFuture Curry(ParamDict paramDict)
18 | {
19 | return new OpenDocumentSensitivePrioritizedFuture(prioritizer,
20 | prototype.Curry(paramDict),
21 | openDocumentFuture);
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/OpenDocumentStateObserverIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal interface OpenDocumentStateObserverIfc
4 | {
5 | void DocumentStateChanged(IFuture documentFuture, bool isOpen);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/ParamDict.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class ParamDict : Dictionary
6 | {
7 | public ParamDict()
8 | {
9 | }
10 |
11 | public ParamDict(params object[] list)
12 | {
13 | int i;
14 | for (i = 0; i < list.Length; i += 2)
15 | {
16 | base[(TermName)list[i]] = (Parameter)((Parameter)list[i + 1]).Duplicate("Apply.Params");
17 | }
18 |
19 | D.Assert(i == list.Length, "unmatched pair in list.");
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/Parameter.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public interface Parameter : IRobustlyHashable, Present, IDisposable
6 | {
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/PersistentInterest.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal class PersistentInterest
4 | {
5 | private InterestList interestList;
6 |
7 | public PersistentInterest(AsyncRef asyncRef)
8 | {
9 | interestList = new InterestList();
10 | interestList.Add(asyncRef);
11 | interestList.Activate();
12 | asyncRef.AddCallback(AsyncCompleteCallback);
13 | }
14 |
15 | public void AsyncCompleteCallback(AsyncRef boundsAsyncRef)
16 | {
17 | interestList.Dispose();
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/Present.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public interface Present : IDisposable
6 | {
7 | Present Duplicate(string refCredit);
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/RenderBoundsPresent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class RenderBoundsPresent : Present, IDisposable, IBoundsProvider
6 | {
7 | private RenderBounds renderBounds;
8 |
9 | public RenderBoundsPresent(RenderBounds renderBounds)
10 | {
11 | this.renderBounds = renderBounds;
12 | }
13 |
14 | public RenderBounds GetRenderBounds()
15 | {
16 | return renderBounds;
17 | }
18 |
19 | public RenderRegion GetRenderRegion()
20 | {
21 | return new RenderRegion(renderBounds.imageBounds, new DirtyEvent());
22 | }
23 |
24 | public Present Duplicate(string refCredit)
25 | {
26 | return this;
27 | }
28 |
29 | public void Dispose()
30 | {
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/RequestCanceledPresent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class RequestCanceledPresent : Present, IDisposable, IEvictable
6 | {
7 | public void Dispose()
8 | {
9 | }
10 |
11 | public Present Duplicate(string refCredit)
12 | {
13 | return this;
14 | }
15 |
16 | public bool EvictMeNow()
17 | {
18 | return true;
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/RetryableFailure.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class RetryableFailure : PresentFailureCode, IEvictable
6 | {
7 | private DateTime retryTime;
8 |
9 | public RetryableFailure(Exception ex, string provenance) : base(new PresentFailureCode(ex), provenance)
10 | {
11 | retryTime = DateTime.Now.AddSeconds(15.0);
12 | }
13 |
14 | public bool EvictMeNow()
15 | {
16 | return DateTime.Now > retryTime;
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/SizeParameter.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class SizeParameter : ImmutableParameter
6 | {
7 | public SizeParameter(Size value) : base(value)
8 | {
9 | }
10 |
11 | public override void AccumulateRobustHash(IRobustHash hash)
12 | {
13 | hash.Accumulate(value);
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/SizedCacheRecord.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal class SizedCacheRecord : CacheRecord
4 | {
5 | public bool knowCorrectSize;
6 | public long memoryCharge;
7 |
8 | public SizedCacheRecord(IFuture future) : base(future)
9 | {
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/SizedObject.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal interface SizedObject
4 | {
5 | long GetSize();
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/SlowGeneralPolyPointTransformer.cs:
--------------------------------------------------------------------------------
1 | using Jama;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class SlowGeneralPolyPointTransformer : IPolyPointTransformer
6 | {
7 | private JamaMatrix matrix;
8 |
9 | public SlowGeneralPolyPointTransformer(int polynomialDegree, JamaMatrix matrix) : base(matrix)
10 | {
11 | this.polynomialDegree = polynomialDegree;
12 | this.matrix = matrix;
13 | }
14 |
15 | public override void doTransform(PointD p0, PointD p1)
16 | {
17 | JamaMatrix jamaMatrix = new JamaMatrix(1, 2);
18 | jamaMatrix.SetElement(0, 0, p0.x);
19 | jamaMatrix.SetElement(0, 1, p0.y);
20 | JamaMatrix jamaMatrix2 = Polynomialize(jamaMatrix, polynomialDegree).times(matrix);
21 | p1.x = jamaMatrix2.GetElement(0, 0);
22 | p1.y = jamaMatrix2.GetElement(1, 0);
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/SourceDocument.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class SourceDocument : Present, IDisposable
6 | {
7 | public LocalDocumentDescriptor localDocument
8 | {
9 | get;
10 | }
11 |
12 | public SourceDocument(LocalDocumentDescriptor localDocument)
13 | {
14 | this.localDocument = localDocument;
15 | }
16 |
17 | public Present Duplicate(string refCredit)
18 | {
19 | return this;
20 | }
21 |
22 | public void Dispose()
23 | {
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/SourceMapRendererTools.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class SourceMapRendererTools
6 | {
7 | public static RectangleF ToSquare(RectangleF box)
8 | {
9 | RectangleF result = new RectangleF(box.Location, box.Size);
10 | if (box.Height < box.Width)
11 | {
12 | result.Height = box.Width;
13 | }
14 | else
15 | {
16 | if (box.Width < box.Height)
17 | {
18 | result.Width = box.Height;
19 | }
20 | }
21 |
22 | return result;
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/SourceToLatLonTransform.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class SourceToLatLonTransform : IPointTransformer
6 | {
7 | private IPointTransformer sourceToMercator;
8 |
9 | public SourceToLatLonTransform(IPointTransformer sourceToMercator)
10 | {
11 | this.sourceToMercator = sourceToMercator;
12 | }
13 |
14 | public override void doTransform(PointD p0, PointD p1, out bool isApproximate)
15 | {
16 | PointD pointD =
17 | MercatorCoordinateSystem.MercatorToLatLon(
18 | sourceToMercator.getTransformedPoint(p0, out isApproximate));
19 | p1.x = pointD.x;
20 | p1.y = pointD.y;
21 | }
22 |
23 | public override IPointTransformer getInversePointTransfomer()
24 | {
25 | throw new NotImplementedException();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/StringParameter.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class StringParameter : ImmutableParameter
4 | {
5 | public StringParameter(string value) : base(value)
6 | {
7 | }
8 |
9 | public override void AccumulateRobustHash(IRobustHash hash)
10 | {
11 | hash.Accumulate(value);
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/TemporaryFailureException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class TemporaryFailureException : Exception
6 | {
7 | public TemporaryFailureException(string msg) : base(msg)
8 | {
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/TileDisplayDescriptor.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public struct TileDisplayDescriptor
6 | {
7 | public TileAddress tileAddress;
8 | public Rectangle paintLocation;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/TileDisplayDescriptorArray.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using System.Drawing;
4 |
5 | namespace MSR.CVE.BackMaker.ImagePipeline
6 | {
7 | public class TileDisplayDescriptorArray : IEnumerable, IEnumerable
8 | {
9 | public TileAddress topLeftTile;
10 | public int tileCountX;
11 | public int tileCountY;
12 | public ITileAddressLayout layout;
13 | public Point topLeftTileOffset;
14 | public Size tileSize;
15 |
16 | IEnumerator IEnumerable.GetEnumerator()
17 | {
18 | return new TileAddressEnumerator(this);
19 | }
20 |
21 | public IEnumerator GetEnumerator()
22 | {
23 | return new TileAddressEnumerator(this);
24 | }
25 |
26 | public override string ToString()
27 | {
28 | return string.Format("TL {0} Count {1},{2} Layout {3}",
29 | new object[] {topLeftTile, tileCountX, tileCountY, layout});
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/TransparencyPrototype.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class TransparencyPrototype : IFuturePrototype
4 | {
5 | private TransparencyOptions transparencyOptions;
6 | private IFuturePrototype antialiasedPrototype;
7 | private IFuturePrototype exactColorPrototype;
8 |
9 | public TransparencyPrototype(TransparencyOptions transparencyOptions, IFuturePrototype antialiasedPrototype,
10 | IFuturePrototype exactColorPrototype)
11 | {
12 | this.transparencyOptions = new TransparencyOptions(transparencyOptions);
13 | this.antialiasedPrototype = antialiasedPrototype;
14 | this.exactColorPrototype = exactColorPrototype;
15 | }
16 |
17 | public IFuture Curry(ParamDict paramDict)
18 | {
19 | return new TransparencyFuture(transparencyOptions,
20 | antialiasedPrototype.Curry(paramDict),
21 | exactColorPrototype.Curry(paramDict));
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/UnevaluatedTerm.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | internal class UnevaluatedTerm : IFuturePrototype
4 | {
5 | private TermName name;
6 |
7 | public UnevaluatedTerm(TermName name)
8 | {
9 | this.name = name;
10 | }
11 |
12 | public IFuture Curry(ParamDict paramDict)
13 | {
14 | return new ConstantFuture(paramDict[name]);
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/UnretryableFailure.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class UnretryableFailure : PresentFailureCode
6 | {
7 | public UnretryableFailure(Exception ex) : base(ex)
8 | {
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/VEAddressLayout.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public class VEAddressLayout : ITileAddressLayout
4 | {
5 | public int XValueOneTileEast(TileAddress ta)
6 | {
7 | return WrapLongitude(ta.TileX + 1, ta.ZoomLevel);
8 | }
9 |
10 | public static int WrapLongitude(int TileX, int ZoomLevel)
11 | {
12 | int num = (1 << ZoomLevel) - 1;
13 | return TileX & num;
14 | }
15 |
16 | public int YValueOneTileSouth(TileAddress ta)
17 | {
18 | return ta.TileY + 1;
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/Verb.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker.ImagePipeline
2 | {
3 | public interface Verb
4 | {
5 | Present Evaluate(Present[] paramList);
6 | void AccumulateRobustHash(IRobustHash hash);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/VerbPresent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public interface VerbPresent : Verb, Present, IDisposable
6 | {
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.ImagePipeline/WriteObjectFailedException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.ImagePipeline
4 | {
5 | public class WriteObjectFailedException : Exception
6 | {
7 | public WriteObjectFailedException(string filename, string message, Exception innerEx) : base(
8 | string.Format("{0}: file {1}", message, filename),
9 | innerEx)
10 | {
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.MCDebug/BigDebugKnob.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.MCDebug
4 | {
5 | public class BigDebugKnob
6 | {
7 | public delegate void DebugKnobListener(bool enabled);
8 |
9 | private bool _debugFeaturesEnabled;
10 | public static BigDebugKnob theKnob = new BigDebugKnob();
11 |
12 | private event DebugKnobListener listeners;
13 |
14 | public bool debugFeaturesEnabled
15 | {
16 | get
17 | {
18 | return _debugFeaturesEnabled;
19 | }
20 | set
21 | {
22 | _debugFeaturesEnabled = value;
23 | listeners(_debugFeaturesEnabled);
24 | }
25 | }
26 |
27 | public void AddListener(DebugKnobListener listener)
28 | {
29 | listeners = (DebugKnobListener)Delegate.Combine(listeners, listener);
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.MCDebug/Clocker.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker.MCDebug
4 | {
5 | internal class Clocker
6 | {
7 | private bool started;
8 | private DateTime startTime;
9 | public static Clocker theClock = new Clocker();
10 |
11 | public int stamp()
12 | {
13 | start();
14 | return (int)DateTime.Now.Subtract(startTime).TotalSeconds;
15 | }
16 |
17 | private void start()
18 | {
19 | if (started)
20 | {
21 | return;
22 | }
23 |
24 | startTime = DateTime.Now;
25 | started = true;
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.MCDebug/CountedEventWaitHandle.cs:
--------------------------------------------------------------------------------
1 | using System.Threading;
2 |
3 | namespace MSR.CVE.BackMaker.MCDebug
4 | {
5 | internal class CountedEventWaitHandle : EventWaitHandle
6 | {
7 | private string name;
8 |
9 | public CountedEventWaitHandle(bool initialState, EventResetMode mode, string name) : base(initialState, mode)
10 | {
11 | this.name = name;
12 | DiagnosticUI.theDiagnostics.fetchResourceCounter("event-" + name, -1).crement(1);
13 | }
14 |
15 | public override void Close()
16 | {
17 | base.Close();
18 | DiagnosticUI.theDiagnostics.fetchResourceCounter("event-" + name, -1).crement(-1);
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.MCDebug/MakeObjectID.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace MSR.CVE.BackMaker.MCDebug
4 | {
5 | internal class MakeObjectID
6 | {
7 | private Dictionary objectIDDict = new Dictionary();
8 | private int nextID;
9 | public static MakeObjectID Maker = new MakeObjectID();
10 |
11 | public int make(object o)
12 | {
13 | WeakHashableObject key = new WeakHashableObject(o);
14 | if (objectIDDict.ContainsKey(key))
15 | {
16 | return objectIDDict[key];
17 | }
18 |
19 | int num = nextID;
20 | nextID++;
21 | objectIDDict[key] = num;
22 | return num;
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.Resources/icon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Tools/MapCruncher/MSR.CVE.BackMaker.Resources/icon.ico
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.Resources/image.jpeg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Tools/MapCruncher/MSR.CVE.BackMaker.Resources/image.jpeg
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker.Resources/label.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AvaloniaCommunity/GMap.NET/dbc9784ea8e5316c0e7fde55d71af80356eb790c/Tools/MapCruncher/MSR.CVE.BackMaker.Resources/label.png
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/AckRecord.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.Serialization;
3 |
4 | namespace MSR.CVE.BackMaker
5 | {
6 | [Serializable]
7 | public class AckRecord : ISerializable
8 | {
9 | public AckRecord()
10 | {
11 | }
12 |
13 | public AckRecord(SerializationInfo info, StreamingContext context)
14 | {
15 | }
16 |
17 | public void GetObjectData(SerializationInfo info, StreamingContext context)
18 | {
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/AssociationIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface AssociationIfc
4 | {
5 | void AddNewAssociation(string newPinName);
6 | void RemoveAssociation(PositionAssociation assoc);
7 | void ViewAssociation(PositionAssociation pa);
8 | void UpdateAssociation(PositionAssociation pa, string updatedName);
9 | void LockMaps();
10 | void UnlockMaps();
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/Cfg.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | internal abstract class Cfg : ParseableCfg
4 | {
5 | public T value;
6 |
7 | public string name
8 | {
9 | get;
10 | set;
11 | }
12 |
13 | public Cfg(string name, T defaultValue)
14 | {
15 | this.name = name;
16 | value = defaultValue;
17 | }
18 |
19 | public abstract void ParseFrom(string str);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/CfgBool.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | internal class CfgBool : Cfg
6 | {
7 | public CfgBool(string name, bool defaultValue) : base(name, defaultValue)
8 | {
9 | }
10 |
11 | public override void ParseFrom(string str)
12 | {
13 | value = Convert.ToBoolean(str);
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/CfgInt.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | internal class CfgInt : Cfg
6 | {
7 | public CfgInt(string name, int defaultValue) : base(name, defaultValue)
8 | {
9 | }
10 |
11 | public override void ParseFrom(string str)
12 | {
13 | value = Convert.ToInt32(str);
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/CfgString.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | internal class CfgString : Cfg
4 | {
5 | public CfgString(string name, string defaultValue) : base(name, defaultValue)
6 | {
7 | }
8 |
9 | public override void ParseFrom(string str)
10 | {
11 | value = str;
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/ConfigurationException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | internal class ConfigurationException : Exception
6 | {
7 | public ConfigurationException(string message, Exception innerException) : base(message, innerException)
8 | {
9 | }
10 |
11 | public ConfigurationException(string message) : base(message)
12 | {
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/CurrentSchema.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public class CurrentSchema : MashupXMLSchemaVersion
4 | {
5 | public static CurrentSchema _schema;
6 |
7 | public static CurrentSchema schema
8 | {
9 | get
10 | {
11 | if (_schema == null)
12 | {
13 | _schema = new CurrentSchema();
14 | }
15 |
16 | return _schema;
17 | }
18 | }
19 |
20 | private CurrentSchema() : base("1.7")
21 | {
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/DebugComparer.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | public class DebugComparer : IEqualityComparer
6 | {
7 | public bool Equals(T x, T y)
8 | {
9 | return x.Equals(y);
10 | }
11 |
12 | public int GetHashCode(T obj)
13 | {
14 | return obj.GetHashCode();
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/DefaultReferenceView.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public class DefaultReferenceView
4 | {
5 | public bool present;
6 | public LatLonZoom llz;
7 |
8 | public DefaultReferenceView(LatLonZoom llz)
9 | {
10 | present = true;
11 | this.llz = llz;
12 | }
13 |
14 | public DefaultReferenceView()
15 | {
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/DirtyListener.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public delegate void DirtyListener();
4 | }
5 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/DirtyString.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public class DirtyString
4 | {
5 | private string _myValue;
6 | public DirtyEvent dirtyEvent;
7 |
8 | public string myValue
9 | {
10 | get
11 | {
12 | if (_myValue == null)
13 | {
14 | return "";
15 | }
16 |
17 | return _myValue;
18 | }
19 | set
20 | {
21 | if (value != _myValue)
22 | {
23 | _myValue = value;
24 | dirtyEvent.SetDirty();
25 | }
26 | }
27 | }
28 |
29 | public DirtyString(DirtyEvent parentDirtyEvent)
30 | {
31 | dirtyEvent = new DirtyEvent(parentDirtyEvent);
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/DocumentMutabilityControlIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface DocumentMutabilityControlIfc
4 | {
5 | void SetDocumentMutable(bool mutable);
6 | bool GetDocumentMutable();
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/DuplicatePushpinException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | internal class DuplicatePushpinException : Exception
6 | {
7 | public string whichReference;
8 | public int existingPinId;
9 | public string existingPinName;
10 |
11 | public DuplicatePushpinException(string whichReference, int existingPinId, string existingPinName)
12 | {
13 | this.whichReference = whichReference;
14 | this.existingPinId = existingPinId;
15 | this.existingPinName = existingPinName;
16 | }
17 |
18 | public override string ToString()
19 | {
20 | return string.Format("The new pin has the same {0} location as pin {1} \"{2}\".",
21 | whichReference,
22 | existingPinId,
23 | existingPinName);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/ErrorPosition.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public class ErrorPosition
4 | {
5 | public LatLon latlon;
6 |
7 | public ErrorPosition(LatLon latlon)
8 | {
9 | this.latlon = latlon;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/ExceptionMessageRecord.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.Serialization;
3 |
4 | namespace MSR.CVE.BackMaker
5 | {
6 | [Serializable]
7 | public class ExceptionMessageRecord : ISerializable
8 | {
9 | public string message;
10 |
11 | public ExceptionMessageRecord(string message)
12 | {
13 | this.message = message;
14 | }
15 |
16 | public ExceptionMessageRecord(SerializationInfo info, StreamingContext context)
17 | {
18 | message = (string)info.GetValue("Message", typeof(string));
19 | }
20 |
21 | public void GetObjectData(SerializationInfo info, StreamingContext context)
22 | {
23 | info.AddValue("Message", message, typeof(string));
24 | }
25 |
26 | public override string ToString()
27 | {
28 | return string.Format("{0}: {1}", base.ToString(), message);
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/ExpandedMemoryIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface ExpandedMemoryIfc
4 | {
5 | bool expanded
6 | {
7 | get;
8 | set;
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/FIBR.cs:
--------------------------------------------------------------------------------
1 | using System.IO;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | internal class FIBR
6 | {
7 | private StreamWriter sw;
8 | private static FIBR theFIBR = new FIBR();
9 |
10 | private FIBR()
11 | {
12 | }
13 |
14 | private void Dispose()
15 | {
16 | if (sw != null)
17 | {
18 | sw.Close();
19 | sw = null;
20 | }
21 | }
22 |
23 | private void Write(string message)
24 | {
25 | if (sw != null)
26 | {
27 | sw.WriteLine(message);
28 | sw.Flush();
29 | }
30 | }
31 |
32 | public static void Announce(string methodName, params object[] paramList)
33 | {
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/FileIdentification.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | public class FileIdentification : IComparable
6 | {
7 | private long fileLength;
8 |
9 | public FileIdentification(long fileLength)
10 | {
11 | this.fileLength = fileLength;
12 | }
13 |
14 | public int CompareTo(object obj)
15 | {
16 | if (obj is FileIdentification)
17 | {
18 | return fileLength.CompareTo(((FileIdentification)obj).fileLength);
19 | }
20 |
21 | return GetType().FullName.CompareTo(obj.GetType().FullName);
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/FileUtilities.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 |
4 | namespace MSR.CVE.BackMaker
5 | {
6 | public static class FileUtilities
7 | {
8 | public static string MakeTempFilename(string directory, string fileNamePrefix)
9 | {
10 | int num = new Random().Next();
11 | string text;
12 | while (true)
13 | {
14 | text = Path.Combine(directory, string.Format("{0}-{1}", fileNamePrefix, num.ToString()));
15 | if (!File.Exists(text))
16 | {
17 | break;
18 | }
19 |
20 | num++;
21 | }
22 |
23 | return text;
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/FoxitLibManager.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | public class FoxitLibManager
6 | {
7 | private static FoxitLibManager _theInstance;
8 | public Exception loadException = new Exception("unknown exception");
9 |
10 | public static FoxitLibManager theInstance
11 | {
12 | get
13 | {
14 | if (_theInstance == null)
15 | {
16 | _theInstance = new FoxitLibManager();
17 | }
18 |
19 | return _theInstance;
20 | }
21 | }
22 |
23 | public FoxitLibWorker foxitLib
24 | {
25 | get;
26 | } = new FoxitLibWorker();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/HasDisplayNameIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | internal interface HasDisplayNameIfc
4 | {
5 | string GetDisplayName();
6 | void SetDisplayName(string value);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/HeaderList.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | public class HeaderList : SortedList
6 | {
7 | public HeaderList()
8 | {
9 | }
10 |
11 | public HeaderList(HeaderList prototype) : base(prototype)
12 | {
13 | }
14 |
15 | public void AddHeaderIfAbsent(string key, string value)
16 | {
17 | if (IndexOfKey(key) == -1)
18 | {
19 | Add(key, value);
20 | }
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/HeapBool.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public class HeapBool
4 | {
5 | public bool value
6 | {
7 | get;
8 | set;
9 | }
10 |
11 | public HeapBool(bool initialValue)
12 | {
13 | value = initialValue;
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/HomographyPointTransformer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | public class HomographyPointTransformer : IPointTransformer
6 | {
7 | public override void doTransform(PointD p0, PointD p1)
8 | {
9 | }
10 |
11 | public override IPointTransformer getInversePointTransfomer()
12 | {
13 | throw new NotImplementedException();
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/ICurrentView.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface ICurrentView
4 | {
5 | object GetViewedObject();
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/IFoxitViewer.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Drawing;
3 |
4 | namespace MSR.CVE.BackMaker
5 | {
6 | public interface IFoxitViewer : IDisposable
7 | {
8 | RectangleF GetPageSize();
9 | GDIBigLockedImage Render(Size outSize, Point topleft, Size pagesize, bool transparentBackground);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/IMapView.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface IMapView : ICurrentView
4 | {
5 | MapPosition GetReferenceMapView();
6 | LatLonZoom GetSourceMapView();
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/ITileWorkFeedback.cs:
--------------------------------------------------------------------------------
1 | using MSR.CVE.BackMaker.ImagePipeline;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | public interface ITileWorkFeedback
6 | {
7 | void PostMessage(string message);
8 | void PostComplaint(NonredundantRenderComplaint complaint);
9 | void PostImageResult(ImageRef image, Layer layer, string SourceMapName, TileAddress address);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/IViewManager.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface IViewManager
4 | {
5 | void Activate();
6 | object GetViewedObject();
7 | void Dispose();
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/IgnoredTags.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | public class IgnoredTags : Dictionary
6 | {
7 | public override string ToString()
8 | {
9 | string text = "";
10 | foreach (KeyValuePair current in this)
11 | {
12 | text = text + current.Key + " ";
13 | }
14 |
15 | return text;
16 | }
17 |
18 | public void Add(string tagName)
19 | {
20 | base[tagName] = true;
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/ImageTypeMapping.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing.Imaging;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | public class ImageTypeMapping
6 | {
7 | public string extension
8 | {
9 | get;
10 | }
11 |
12 | public string mimeType
13 | {
14 | get;
15 | }
16 |
17 | public ImageFormat imageFormat
18 | {
19 | get;
20 | }
21 |
22 | public ImageTypeMapping(string extension, string mimeType, ImageFormat imageFormat)
23 | {
24 | this.extension = extension;
25 | this.mimeType = mimeType;
26 | this.imageFormat = imageFormat;
27 | }
28 |
29 | public bool ImageFormatEquals(ImageFormat otherFormat)
30 | {
31 | return imageFormat != null && otherFormat != null && imageFormat.Guid == otherFormat.Guid;
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/InlineSourceMapInfoSchema.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public class InlineSourceMapInfoSchema : MashupXMLSchemaVersion
4 | {
5 | public static InlineSourceMapInfoSchema _schema;
6 |
7 | public static InlineSourceMapInfoSchema schema
8 | {
9 | get
10 | {
11 | if (_schema == null)
12 | {
13 | _schema = new InlineSourceMapInfoSchema();
14 | }
15 |
16 | return _schema;
17 | }
18 | }
19 |
20 | private InlineSourceMapInfoSchema() : base("1.2")
21 | {
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/InvalidFileContentsException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | internal class InvalidFileContentsException : Exception
6 | {
7 | public InvalidFileContentsException(string message, Exception innerException) : base(message, innerException)
8 | {
9 | }
10 |
11 | public InvalidFileContentsException(string message) : base(message)
12 | {
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/InvalidLLZ.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public class InvalidLLZ : InvalidMashupFile
4 | {
5 | public InvalidLLZ(MashupParseContext context, string msg) : base(context, msg)
6 | {
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/InvalidMashupFile.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Xml;
3 |
4 | namespace MSR.CVE.BackMaker
5 | {
6 | public class InvalidMashupFile : Exception
7 | {
8 | public InvalidMashupFile(MashupParseContext context, string msg) : this(context.reader, msg)
9 | {
10 | }
11 |
12 | public InvalidMashupFile(XmlTextReader reader, string msg) : base(string.Format("{0} at {1}",
13 | msg,
14 | MashupParseContext.FilePosition(reader)))
15 | {
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/InvalidatableViewIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface InvalidatableViewIfc
4 | {
5 | void InvalidateView();
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/LastViewIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface LastViewIfc
4 | {
5 | ICurrentView lastView
6 | {
7 | get;
8 | }
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/LatLonEditIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface LatLonEditIfc
4 | {
5 | void latEdited(double newLat);
6 | void lonEdited(double newLon);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/LayerControlIfc.cs:
--------------------------------------------------------------------------------
1 | namespace MSR.CVE.BackMaker
2 | {
3 | public interface LayerControlIfc
4 | {
5 | void OpenSourceMap(SourceMap sourceMap);
6 | void AddSourceMap();
7 | void RemoveSourceMap(SourceMap sourceMap);
8 | void OpenLayer(Layer layer);
9 | void OpenLegend(Legend legend);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/LengthRecord.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.Serialization;
3 |
4 | namespace MSR.CVE.BackMaker
5 | {
6 | [Serializable]
7 | public class LengthRecord : ISerializable
8 | {
9 | public int length;
10 |
11 | public LengthRecord(int length)
12 | {
13 | this.length = length;
14 | }
15 |
16 | public LengthRecord(SerializationInfo info, StreamingContext context)
17 | {
18 | length = (int)info.GetValue("Length", typeof(int));
19 | }
20 |
21 | public void GetObjectData(SerializationInfo info, StreamingContext context)
22 | {
23 | info.AddValue("Length", length);
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Tools/MapCruncher/MSR.CVE.BackMaker/ListUIIfc.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace MSR.CVE.BackMaker
4 | {
5 | public interface ListUIIfc
6 | {
7 | void listChanged(List