T O P I C R E V I E W |
sandy771 |
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
|
3 L A T E S T R E P L I E S (Newest First) |
sandy771 |
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"); |
xequte |
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 |
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(); |