MOGSY Posted April 3, 2020 Share Posted April 3, 2020 Hi Using TUniMap, how can we display different icons. I have tried even changing a working icon, TUnimap stop displaying the new icon. I have attached two icons one working "marker-icon" and the second I have just altered the icon colour and the new icon won’t show "marker-red". Another question is I would like to display a label inside the icon for example a number "1", "2" etc. Regards Link to comment Share on other sites More sharing options...
Sherzod Posted April 3, 2020 Share Posted April 3, 2020 38 minutes ago, MOGSY said: Using TUniMap, how can we display different icons. Hello, \FMSoft\Framework\uniGUI\Demos\Desktop\UniMap procedure TMainForm.UniButton7Click(Sender: TObject); begin with UniMap1.Markers.Add do begin id:= Trunc(UniNumberEdit4.Value); Latitude:= UniFormattedNumberEdit5.Value; Longitude:= UniFormattedNumberEdit6.Value; Icon.iconUrl:= UniEdit1.Text; //<-------- Draggable:= UniCheckBox2.Checked; AddToMap; PanToMarker(8); end; end; Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 3, 2020 Share Posted April 3, 2020 3 hours ago, MOGSY said: Hi Using TUniMap, how can we display different icons. I have tried even changing a working icon, TUnimap stop displaying the new icon. I have attached two icons one working "marker-icon" and the second I have just altered the icon colour and the new icon won’t show "marker-red". Another question is I would like to display a label inside the icon for example a number "1", "2" etc. Regards Hi, We created a specific demo for your request. Did you get the latest build? Please check "UniMap - Custom Marker" Demo Link to comment Share on other sites More sharing options...
MOGSY Posted April 5, 2020 Author Share Posted April 5, 2020 Hi I have re installed the latest version "1.90.0.1526", but I don't have "UniMap - Custom Marker" Demo. What I am not doing? regards Link to comment Share on other sites More sharing options...
Freeman35 Posted April 5, 2020 Share Posted April 5, 2020 Hi, not in trail too. Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 5, 2020 Share Posted April 5, 2020 Hi, Let me check my commit again. Link to comment Share on other sites More sharing options...
MOGSY Posted April 8, 2020 Author Share Posted April 8, 2020 Hi Hayri sorry for chasing, but any update? Regards Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 8, 2020 Share Posted April 8, 2020 Hi, Yes with the new build we will get the demo. Please find attached demo. UniMap - Custom Marker.rar Link to comment Share on other sites More sharing options...
MOGSY Posted April 10, 2020 Author Share Posted April 10, 2020 Hi Hayri Thank you for the demo, will be a new build soon? I think some of the properties are missing from the current build like "CustomIconText". Regards Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now