A InfoWindow is a bubble of information that can contain HTML text, they are accessible through the list InfoWindow type TECMapInfoWindows
TECMapInfoWindows
This class has methods and properties
function Add(sContent:string):integer;
procedure Clear;
TECMapInfoWindow
The InfoWindow have methods and properties
property Anchor : integer;
Under the CloudMade InfoWindow must necessarily be associated with a marker to be displayed
10property Longitude: double;
property MaxWidth : integer;
Property read / written to define the maximum width that can reach InfoWindow
Not available CloudMade
13Property read / written to open / close a InfoWindow
The closure of a InfoWindow triggering event OnCloseInfoWindow
OnCloseInfoWindow
Event triggered the closure of a InfoWindow
procedure OnCloseInfoWindow(sender: Tobject;const Index:integer)
Difference between API
Under CloudMade to be displayed a InfoWindow must be associated with a marker
// load
mapillary image 256x256 in a TImage
bmp := TBitmap.Create;
try
// also url1024 and
url2048
if
FMapillaryLayer.LoadMapillaryBitmap(Sequence[ImageIndex].Url256,bmp)
then
Image.Picture.Assign(bmp);
finally
bmp.Free;
end;
While in Google Maps you can directly open a InfoWindow without associating it with a marker