• Что бы вступить в ряды "Принятый кодер" Вам нужно:
    Написать 10 полезных сообщений или тем и Получить 10 симпатий.
    Для того кто не хочет терять время,может пожертвовать средства для поддержки сервеса, и вступить в ряды VIP на месяц, дополнительная информация в лс.

  • Пользаватели которые будут спамить, уходят в бан без предупреждения. Спам сообщения определяется администрацией и модератором.

  • Гость, Что бы Вы хотели увидеть на нашем Форуме? Изложить свои идеи и пожелания по улучшению форума Вы можете поделиться с нами здесь. ----> Перейдите сюда
  • Все пользователи не прошедшие проверку электронной почты будут заблокированы. Все вопросы с разблокировкой обращайтесь по адресу электронной почте : info@guardianelinks.com . Не пришло сообщение о проверке или о сбросе также сообщите нам.

Using Consistent and Customizable Markers in TMS FNC Maps

Sascha Оффлайн

Sascha

Заместитель Администратора
Команда форума
Администратор
Регистрация
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:


TMS Software Delphi  Components


Here Maps with default marker icons​



TMS Software Delphi  Components


Here Maps with TMS FNC Maps marker icons​




TMS Software Delphi  Components


OpenLayers with default marker icons​



TMS Software Delphi  Components


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!




Пожалуйста Авторизируйтесь или Зарегистрируйтесь для просмотра скрытого текста.

 
Вверх Снизу