Jump to content
View in the app

A better way to browse. Learn more.

FGX Native

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
  • Status: Fixed
  • Priority: Critical
  • Resolution: Works as expected
  • Platform: Android
  • Affects version 1.16.0.1

Добрый день!

Раньше при добавлении маркера на карту нижеприведенный код позволял управлять полем Tag:

AMarker:=fgMap1.Markers.AddMarker(LCoordinate);
AMarker.Tag.From<integer>(fgMap1.Markers.Count);

Сейчас этот код не изменяет поле Tag маркера. 

Конечно, можно использовать:

fgMap1.Markers.AddMarker(LCoordinate).Tag:=fgMap1.Markers.Count

, но вопрос для понимания: это изменение - баг или особенность работы, о которой раньше не знал?

Демо во вложении (необходимо указать API-key).
На iOS не проверял.

MapMarkerTest.zip

User Feedback

Recommended Comments

  • Administrators

Это особенность работы свойств в Delphi для типа "запись". При обращении к свойству с типом запись, возвращается копия, а не ссылку. Поэтому данный код изменяет значение копии, а не оригинала.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.