I can make a bitmap file from tiles that I receive from Google map using X_Tile,Y_Tile and Google map zoom parameters successfully.First I use a vector layer to find map extent in UTM,so I have minimumX,Y and Maximum X,Y and also UTM zone.Using these parameters I achieve minimum latitude/longitude and maximum latitude/longitude of map extent,so I can find right range for X and Y tile indexes of google map.Then I use Map scale to find nearest google map zoom to map extent scale.Using all these parameters and downloading right tiles,I create a bitmap which shows the map of area correctly,but I can not make a geographical match between my vector layer and this bitmap.Data source of my vector layer is some spatial enabled tables in SQL server(have geometry field) and I have a stand alone application which can shows these geometries(records of those tables) and also I can set the background image of its window client area I tried to clip the tile_made bitmap,and make a coincident between bitmap and vectors by stretching bitmapor clip it,but no success. Any guide line or programming source for this purpose?
أكثر...
أكثر...