Kitto.Html.GoogleMap
KittoX GoogleMap controller: renders a Google Maps view with optional data grid sidebar. Supports geocoding-based markers from model data, static markers from YAML, and routing via Google Directions API. Inspired by TEdgeGoogleMapViewer (DelphiGoogleMap project).
TKXGoogleMapController class
pascal
class function JSONStr(const AValue: string): string;Escapes a string for JSON output (adds surrounding double quotes).
pascal
class function BuildMarkersJsonFromStore( AStore: TKViewTableStore;Builds a JSON array of marker objects from a store. Each marker has address (concatenated from AddressFields), title, and info. Public class function for reuse by the map-data AJAX endpoint.
pascal
class function BuildGridRows(AStore: TKViewTableStore;Builds grid table rows (tbody content) for the sidebar. Public class function for reuse by the map-data endpoint.
