CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

How to change the icon

by assapan » 07 Mar 2014 12:52

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 ?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Alexander Bulei » 07 Mar 2014 13:37

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by assapan » 07 Mar 2014 14:05

Hi,
thanks for the quick response .
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France


Return to JQGMap

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.