- Регистрация
- 9 Май 2015
- Сообщения
- 1,486
- Баллы
- 155
When working with mapping services, you’ve probably encountered the limitations of default marker icons. These icons are often non-customizable and can look quite different across various mapping platforms. offers a powerful solution that ensures a uniform appearance and allows customization.
The Challenge
Mapping services typically provide a single, fixed marker icon. If you want to use custom images, it can be time-consuming to find and configure the right graphical elements. Plus, maintaining consistency across different mapping services can be tricky.
The Solution
TMS FNC Maps introduces a consistent, customizable marker icon feature. By adjusting a few properties, you can achieve a uniform appearance across various platforms. Here’s how it works:
Adding a Marker with a default icon
Add a new marker and enable the default icon. Optionally the fill color and size of the icon can be defined as well.
var
m: TTMSFNCMapsMarker;
begin
m := TMSFNCMaps1.AddMarker(ALatitude, ALongitude);
m.DefaultIcon.Enabled := True;
m.DefaultIcon.Fill := AColor;
m.DefaultIcon.Size := ASize;
end;
Consistency Across Platforms
The marker icon will appear the same way regardless of the mapping service you’re using. No more surprises!
Customization Options
You can adjust the fill color and size of the marker icon to match your application’s design or differentiate between different marker types.
The End Result
Check out the screenshots below to see how consistency and appearance are drastically improved by using markers with the default icon enabled in your mapping project:
Available Now
The for Delphi update is available now. You can the latest version and start using the new features right away!
The Challenge
Mapping services typically provide a single, fixed marker icon. If you want to use custom images, it can be time-consuming to find and configure the right graphical elements. Plus, maintaining consistency across different mapping services can be tricky.
The Solution
TMS FNC Maps introduces a consistent, customizable marker icon feature. By adjusting a few properties, you can achieve a uniform appearance across various platforms. Here’s how it works:
Adding a Marker with a default icon
Add a new marker and enable the default icon. Optionally the fill color and size of the icon can be defined as well.
var
m: TTMSFNCMapsMarker;
begin
m := TMSFNCMaps1.AddMarker(ALatitude, ALongitude);
m.DefaultIcon.Enabled := True;
m.DefaultIcon.Fill := AColor;
m.DefaultIcon.Size := ASize;
end;
Consistency Across Platforms
The marker icon will appear the same way regardless of the mapping service you’re using. No more surprises!
Customization Options
You can adjust the fill color and size of the marker icon to match your application’s design or differentiate between different marker types.
The End Result
Check out the screenshots below to see how consistency and appearance are drastically improved by using markers with the default icon enabled in your mapping project:

Here Maps with default marker icons

Here Maps with TMS FNC Maps marker icons

OpenLayers with default marker icons

OpenLayers with TMS FNC Maps marker icons
Available Now
The for Delphi update is available now. You can the latest version and start using the new features right away!