Joined: 16 Mar 2017
Topic: Marker Labels
Posted: 27 Jun 2017 at 9:50pm
The google code shows the character nicely placed on top of the map marker.
Using the label property of TMarker adds the marker in a bordered box with a white background and it is offset from the map Marker. - very ugly.
Here's my code to create the marker (reading the lat/long from a dataset):
The forum doesn't support images but I'm happy to email an example through.
Joined: 18 May 2010
|Post Options Quote Reply Posted: 28 Jun 2017 at 10:46am|
- Please note that the internal marker label character is only supported when the IconColor is set to icDefault.
This is a limitation of the Google Maps API.
WebGMaps1.Markers.Text := 'B';
- The MapLabel.Text which you are using in your sample code will display a label outside the Marker which can fit more text.
The label colors are configurable.
|Forum Jump||Forum Permissions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum