Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
TIESlippyMap and builder
New Topic
Reply to Topic
Author
Topic
sandy771
57 Posts
Posted - Mar 13 2013 : 14:55:28
I am trying to mak euse of this feature and I am having aproblem 9based on me not speaking delphi)
The manual says
ImageEnView1.IEBitmap.VirtualBitmapProvider := TIESlippyMap.Create();
I am trying
ImageEnview1->IEBitmap->VirtualBitmapProvider = new TIESlippyMap();
and getting
[bcc32 Error] Unit1.cpp(12907): E2285 Could not find a match for 'TIESlippyMap::TIESlippyMap()'
ny ideas?
Thanks
sandy771
57 Posts
Posted - Mar 13 2013 : 16:06:36
Progress but still not working
the first two forms of the constructor gave me a compile time error
// create a slippymap using default provider
ImageEnView1.IEBitmap.VirtualBitmapProvider := TIESlippyMap.Create();
// create a slippymap using iesmpOSM_Mapnik provider
ImageEnView1.IEBitmap.VirtualBitmapProvider := TIESlippyMap.Create(iesmpOSM_Mapnik);
The following compiles but no map is displayed - any ideas?
ies = new TIESlippyMap("http://[abc].tile.openstreetmap.org", "c:\\mapcache");
ImageEnView1->IEBitmap->VirtualBitmapProvider = ies; ies->Latitude = 1.503614574056016;
ies->Longitude = -0.12774750793460043;
ies->PointPosition = Point(ImEn3->IEBitmap->Width / 2, ImEn3->IEBitmap->Height / 2);
ies->Zoom = 10;
ImageEnView1->Update();
xequte
39142 Posts
Posted - Mar 13 2013 : 17:22:24
Hi
Does the Geomaps demo work on your system:
http://www.imageen.com/demos/
(Source code for this - in Delphi only - is in: \Demos\Other\GeoMaps)
Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
sandy771
57 Posts
Posted - Mar 14 2013 : 02:24:53
Nigel - yes the demo works.
I have also found that this form of constructor works OK for me
ies = new TIESlippyMap(iesmpMapQuest, "e:\\temp\\mapcache");
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page