CodePlexProject Hosting for Open Source Software
Hello, is there a function that I can call to get the map tile (in the cache or not), passing Lat\Lng & ZoomLevel?I will use this in a report.
for now, check BigMapMaker-ConsoleApplication\Program.cs in solution
p.s. there is new function in demo to make static maps , but i'll add source files(i foget to include them ;}) only about >18h
Have a nice day! :}
check it now ;}
I think I have to use this function:
GetImageFrom(MapType type, Point pos, int zoom)
My problem is that I don't have a GMap.NET.Point (pos argument) but a GMap.NET.PointLatLng...
How can I do?
check Demo.WindowsForms. class StaticImage ;}
I see..but I don't have neither a RectLatLng nor a couple of GMap.NET.PointLatLng..only 1 GMap.NET.PointLatLng
Sorry, I think that I'm missing something..could you please post the code to get the image passing MapType,Lat\Lng & ZoomLevel?
Sorry for the disturb
..no you don't see ;}
look at class StaticImage ;}, is it so hard to construct RectLatLng(point, 0, 0) // ? ;}
Ok, I understand...I didn't know to use 0,0..thanks!
..can you explain what do you want to do exactly? ;}
I just want to get the tile of a particular lat\lng,zoom and map type... Then I save the image in a file.Now I try to use RectLatLng(point, 0, 0).
..but if your location is on the corner of tile?, you must select few tiles around your point, and make image from parts of the tiles, so your position can be in the center as like in static map demo...
That's right..but I will show the image as is..
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.