To avoid Javascript errors on modern Google Maps layouts, add the registry key to your Windows Registry for your compiled executable, forcing it to use IE11 or Edge rendering modes. 3. Missing Search Paths
Select the platform and add the following folder paths from your extracted source: The main source folder (where the .pas files are located).
: Ensure you have downloaded the full source archive ( unigmap_148_xe2delphi_102_tokyo_full_source ). Extract this archive to a permanent directory on your machine (e.g., C:\Components\UniGMap\ ). Avoid using temporary directories.
Are you building a or an FMX (Cross-Platform) application? unigmap 148 xe2delphi 102 tokyo full source install
Click the grey folder/browse icon, navigate to your UniGMap installation folder, and select the subfolder. Click Add , then click OK to save the path.
procedure TForm1.FormCreate(Sender: TObject); begin UniGMap1.Active := True; end; Use code with caution.
Installing might seem daunting at first, but by following this structured step-by-step guide, you'll be able to get it done successfully. The key points to remember are: To avoid Javascript errors on modern Google Maps
Ensure that the folder where Delphi outputs BPLs (usually C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl ) is present in your Windows System Environment PATH variable. 2. "DCU Not Found" or "File not found: UniGMap.pas"
Delete these files from your system directories, specifically checking: C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl C:\Windows\System32 and C:\Windows\SysWOW64 Step 2: Configure Environment Paths in Delphi 10.2 Tokyo
I can provide the specific code modifications or configuration steps needed to bypass the compilation blocker. Share public link : Ensure you have downloaded the full source
To install UniGMap 1.4.8 (full source) in Delphi 10.2 Tokyo , you must manually compile the packages as the older XE2-era installers often lack automated support for newer IDE versions like Tokyo. Manual Installation Steps Extract Source
| Issue | Likely Cause | Solution | |-------|--------------|----------| | F2051 Unit UniGMap was compiled with a different version of uniGUIApplication.UniSession | uniGMap was built against a different uniGUI version. | Recompile the uniGMap source after ensuring uniGUI is correctly installed and its paths are in the Library path. | | The component palette does not show a new page. | Package not installed or not compiled. | Re‑open the .dpk , click , then Install . Restart Delphi. | | Google Maps displays as a blank area. | Missing API key or JavaScript files. | Add a valid API key; copy the three required .js / .css files to the project folder. | | Ajax events (click, zoom) do not fire. | Event handlers not assigned or JavaScript errors. | Check the browser’s developer console (F12) for errors; verify that the OnAjaxEvent is correctly implemented. | | “Google is not defined” error in the browser. | Google Maps API script not loaded. | Ensure your API key is correct and that the component’s LoadMap method is called after the form is shown. |
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.