lgtuta.blogg.se

Google maps for windows 8
Google maps for windows 8










google maps for windows 8

I am using Bing Maps RTM in metro style apps i am trying to show a user control over a map so at the run time i create the object of that user control class and assign to the map layer and when i am trying to display the map layer the place where i double click i am not getting that, it is always map layer with user control at the top left corner of the map. So now that we understand what is QuadKey we understand that we need to translate this value into Google Map X,Y and Zoom, we can use the following method to convert the QuadKey into x, y, and level values. As shown in the example below, tile 2 is the parent of tiles 20 through 23, and tile 13 is the parent of tiles 130 through 133: Second, the quadkey of any tile starts with the quadkey of its parent tile (the containing tile at the previous level). First, the length of a quadkey (the number of digits) equals the level of detail of the corresponding tile. Quadkeys have several interesting properties. For instance, given tile XY coordinates of (3, 5) at level 3, the quadkey is determined as follows: To convert tile coordinates into a quadkey, the bits of the Y and X coordinates are interleaved, and the result is interpreted as a base-4 number (with leading zeros maintained) and converted into a string. Each quadkey uniquely identifies a single tile at a particular level of detail, and it can be used as an key in common database B-tree indexes. To optimize the indexing and storage of tiles, the two-dimensional tile XY coordinates are combined into one-dimensional strings called quadtree keys, or “quadkeys” for short. What is QuadKey? - A quadkey uniquely identifies single tiles at particular levels of detail Latitude: pos.latitude, longitude: pos.longitude }, ) Var pos = map.tryPixelToLocation( new ( location.clientX, location.clientY), Choose “Create or view keys” and create new Key for your application.Ĭopy and save that key, create a resource in App.xaml called BingCredentials with the key value.

google maps for windows 8 google maps for windows 8

Step 1: Maps Developer Accountīefore you can use Bing SDK from Windows 8 Metro App you need Maps Developer Account, open, create or enter with existing Windows Live account. In this article we'll see how to use Bing Maps SDK for C# & JavaScript metro applications. This SDK includes controls for apps built using JavaScript, as well as apps built using C#, C++, and Visual Basic.

  • Download demo - Custom Tile Overlay - Google Maps - 13KBīing Maps SDK is available for Visual Studio 2012 RC and Windows 8 release preview, Bing Maps SDK is easy fast and cool control that you can use in your Metro App.īing Maps SDK for Metro style apps (Release Preview) combines the power of Windows 8 and Bing Maps™ to provide an enhanced mapping experience for Metro style apps.











  • Google maps for windows 8