ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Slippy Map Provider...
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

bmesser

United Kingdom
234 Posts

Posted - Nov 22 2012 :  04:48:46  Show Profile  Reply
Hi

I just wondered if there had been any further developments to the TIESlippyMapProvider class/unit?

As far as I can make out it would allow you to display tiled maps inside an ImageEN component?

Bruce.

fab

1310 Posts

Posted - Nov 23 2012 :  06:15:38  Show Profile  Reply
Hi,
this feature is under developing (actually slowed down by the 64 bit porting).
Anyway it can be previewer. Just enable {$define IEINCLUDESLIPPYMAP} in ie.inc, recompile and do:

var
map: TIESlippyMap;

procedure TForm1.Button1Click(Sender: TObject);
begin
map := TIESlippyMap.Create(iesmpMapQuest, 'cache');
map.Zoom := 14;
ImageEnView1.LegacyBitmap := false;
ImageEnView1.IEBitmap.VirtualBitmapProvider := map;
ImageEnView1.Update();
end;

You can change location using map.Longitude and map.Latitude.

No further support is provided now.
Go to Top of Page

bmesser

United Kingdom
234 Posts

Posted - Nov 23 2012 :  09:48:43  Show Profile  Reply
Fabrizio

Looks very interesting and full of possibilities. I don't have the source code version of ImageEN so I don't think I can check it out.

I am using WebGMaps from TMS at the moment which look great but not so good when you want to add markers and drag them around.

Bruce.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: