From: <lk...@us...> - 2008-10-09 13:15:22
|
Revision: 2178 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=2178&view=rev Author: lkuech Date: 2008-10-09 13:15:15 +0000 (Thu, 09 Oct 2008) Log Message: ----------- WorldMap: First changes to respect the changes Google did to their URL's (more to come) Modified Paths: -------------- trunk/plugins/WorldMap/MAPS/MapFunctions.cs trunk/plugins/WorldMap/Settings.cs trunk/plugins/WorldMap/WorldMap.cs Property Changed: ---------------- trunk/plugins/WorldMap/ Property changes on: trunk/plugins/WorldMap ___________________________________________________________________ Added: svn:ignore + bin obj Modified: trunk/plugins/WorldMap/MAPS/MapFunctions.cs =================================================================== --- trunk/plugins/WorldMap/MAPS/MapFunctions.cs 2008-10-06 20:54:42 UTC (rev 2177) +++ trunk/plugins/WorldMap/MAPS/MapFunctions.cs 2008-10-09 13:15:15 UTC (rev 2178) @@ -364,7 +364,7 @@ public static string GetGMapTileCode(int TileX, int TileY, int zoomLevel) { - int localzoom = (17 - zoomLevel); + int localzoom = zoomLevel;//(17 - zoomLevel); string tileid = ""; double numLong = (int)TileX; double numLat = (int)TileY; Modified: trunk/plugins/WorldMap/Settings.cs =================================================================== --- trunk/plugins/WorldMap/Settings.cs 2008-10-06 20:54:42 UTC (rev 2177) +++ trunk/plugins/WorldMap/Settings.cs 2008-10-09 13:15:15 UTC (rev 2178) @@ -128,9 +128,9 @@ using (MediaPortal.Profile.Settings reader = new MediaPortal.Profile.Settings(Config.GetSubFolder(Config.Dir.Plugins,"Windows") + "\\GUIWorldmap.xml")) { GMAUrl = reader.GetValueAsString(SectionName, ParmGMAUrl, "http://khm{0}.google.com/kh?n=404&v=99&t={1}"); - GMRUrl = reader.GetValueAsString(SectionName, ParmGMRUrl, "http://mt{0}.google.com/mt?n=404&v=w2.99&x={1}&y={2}&zoom={3}"); + GMRUrl = reader.GetValueAsString(SectionName, ParmGMRUrl, "http://mt{0}.google.com/mt?v=w2.83&x={1}&y={2}&z={3}"); GMHUrl = reader.GetValueAsString(SectionName, ParmGMHUrl, "http://mt{0}.google.com/mt?n=404&v=w2t.99&x={1}&y={2}&zoom={3}"); - GMTUrl = reader.GetValueAsString(SectionName, ParmGMTUrl, "http://mt{0}.google.com/mt?n=404&v=w2p.99&x={1}&y={2}&zoom={3}"); + GMTUrl = reader.GetValueAsString(SectionName, ParmGMTUrl, "http://mt{0}.google.com/mt?v=app.81&x={1}&y={2}&z={3}"); VEUrl = reader.GetValueAsString(SectionName, ParmVEUrl, "http://{0}{1}.ortho.tiles.virtualearth.net/tiles/{0}{2}{3}?g=1"); } } Modified: trunk/plugins/WorldMap/WorldMap.cs =================================================================== --- trunk/plugins/WorldMap/WorldMap.cs 2008-10-06 20:54:42 UTC (rev 2177) +++ trunk/plugins/WorldMap/WorldMap.cs 2008-10-09 13:15:15 UTC (rev 2178) @@ -655,8 +655,8 @@ 0, 0,//width/height 1,//mipslevels 0,//Usage.Dynamic, - Format.X8R8G8B8, - Pool.Managed, + Format.A8R8G8B8, + GUIGraphicsContext.GetTexturePoolType(), Filter.None, Filter.None, (int)0, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |