Page 1 of 1

How to change the icon

PostPosted: 07 Mar 2014 12:52
by assapan
Hi,
I would want to set different icon to different markers , i don't know how to use the icon property in JQGMapV3Options.
Can someone help ?

Re: How to change the icon

PostPosted: 07 Mar 2014 13:37
by Alexander Bulei
Hi assapan,

At this moment the markers works only with image link, we will check the possibility to add the custom icons from iw server.

delphi code
with IWCGJQGMap3.JQGMapV3Options do
begin
Map.Options.Zoom:= 3;
Map.Address:= 'Paris, France';

with Marker.Values.Add do
begin
Data:= 'Paris, France';
LatLng.Latitude:= 48.870135;
LatLng.Longitude:= 2.345152;
Options.Icon:= 'http://maps.google.com/mapfiles/marker_green.png';
end;
end;


Best Regards.

Re: How to change the icon

PostPosted: 07 Mar 2014 14:05
by assapan
Hi,
thanks for the quick response .