Delphi

ZylGMaps v2.12 for Delphi 12 Athens

ZylGMaps is a Delphi & C++Builder interactive component which displays Google Maps or Open Street Map inside your applications. It supports markers...

Description

ZylGMaps is a Delphi & C++Builder interactive component which displays Google Maps or Open Street Map inside your applications. It supports markers, polygons, polylines, circles, rectangles, popups and tooltips. Geocoding and reverse geocoding are also available. It supports different events, like OnMapClick, OnMapDoubleClick, OnMapMouseMove, OnMapCenterChange, OnMapZoomChange, etc.

The demo version is fully functional in Delphi and C++Builder IDE, but it displays a nag dialog (the licensed version will, of course, not have a nag dialog and will not be limited to the IDE). The package includes demo programs for Delphi and C++Builder and a help file with the description of the component.

For rendering, Internet Explorer or Microsoft Edge (only in Delphi/C++Builder 10.4 or later) engine is used.

Attention: Starting with 2018, you have to use a valid Google Maps JavaScript API key. You can get it from here for free! After you have it, initialize the ApiKey property of the component with this key.

Supported Operating Systems:

Windows 2000/XP/Server2003/Vista/Server2008/7/8/Server2012/10/11

Available for: Delphi 12 Athens (Win32 & Win64), Delphi 11 Alexandria (Win32 & Win64), Delphi 10.4 Sydney (Win32 & Win64), Delphi 10.3 Rio (Win32 & Win64), Delphi 10.2 (Win32 & Win64), Delphi 10.1 (Win32 & Win64), Delphi 10 (Win32 & Win64), Delphi XE8 (Win32 & Win64), Delphi XE7 (Win32 & Win64), Delphi XE6 (Win32 & Win64), Delphi XE5 (Win32 & Win64), Delphi XE4 (Win32 & Win64), Delphi XE3 (Win32 & Win64), Delphi XE2 (Win32 & Win64), Delphi XE, Delphi 2010, Delphi 2009, Delphi 2007, Delphi 2006, Delphi 7, Delphi 6, C++Builder 12 Athens (Win32 & Win64), C++Builder 11 Alexandria (Win32 & Win64), C++Builder 10.4 Sydney (Win32 &Win64), C++Builder 10.3 Rio (Win32), C++Builder 10.2 (Win32), C++Builder 10.1 (Win32), C++Builder 10 (Win32), C++Builder XE8 (Win32), C++Builder XE7, C++Builder XE6, C++Builder XE5, C++Builder XE4, C++Builder XE3, C++Builder XE2, C++Builder XE, C++Builder 2010, C++Builder 2006, Turbo Delphi, Turbo C++

Installation:

-If you have a previous version of the component installed, you must remove it completely before installing this version.

-Unzip the zip file and open the ZylGMapsPack.dpk file in Delphi (ZylGMapsPack.bpk or ZylGMapsPack.cproj file in C++Builder), compile and install it

and add to Tools/Environment Options/Library (in older Delphi/C++Builder menu) or Tools/Options/[Language]/Delphi Options/Library/Library Path (in newer Delphi menu) or Tools/Options/[Language]/C++ Options/Paths and Directories/Library Path & Include Path (in newer C++Builder menu, , in C++Builder 10 or later, set them also for the classic compiler) the path of the installation (where the ZylGMaps.dcu file is located). The component will be added to the "Zyl Soft" tab of the component palette. After you have the component on your component palette, you can drag and drop it to any form, where you can set its properties by the Object Inspector and you can write event handlers selecting the Events tab of the Object Inspector and double clicking the preferred event.

If you still have problems in C++Builder, running an application, which contains the component, then open the project and in C++Builder menu, Project/Options/Packages and uncheck "Build with runtime packages".

-It is indicated to use this component with "Stop on Delphi exception" option deactivated. You can do this from Delphi / C++Builder menu, Tools/Debugger Options/Language Exceptions/Stop on Delphi exceptions in older versions or Tools/Options/Debugger Options/Embarcadero Debuggers/Language Exceptions/Notify on language exceptions in newer versions, otherwise you will have a break at all the handled exceptions.

64-bit platform:

Delphi/C++Builder 64-bit support is only for runtime, so you have to use it in the folllwing way:

Install the 32-bit version of the component as it described above and add to Tools/Options/Delphi Options/Library/Library Path, selected platform: 64-bit Windows the path of the Win64 subfolder of the component.

Before compiling the host application for 64-bit Windows, right click on Target Platforms, Add Platform and add 64-bit Windows (Make the selected platform active). If you compile the application in this way, it will be a native 64-bit application.

If it does not work with OSM, try the following settings in Microsoft Edge:

Enable the local site list experience:

To enable the local site list experience, users can go to the URL edge://settings/defaultBrowser and set Allow sites to be reloaded in Internet Explorer mode to Allow.

In the Internet Explorer mode pages list add http://localhost

Help file:

If you can't open the help file:

-right-click on the help.chm file to get the properties

-on the bottom it says: “This file came form another computer....”

-push “Unblock” next to this text

-now the help.chm files opens as all other help files

Using with Microsoft Edge

You can use Microsoft Edge for rendering in Delphi/C++Builder 10.4 or later. WebView2Loader.dll must be in the same folder with the exe file of the application.

What's new:

-support for Delphi/C++Builder 12 Athens

New property ZoomControl, to show/hide zoom control buttons

New property MapTypeControl, to show/hide map type control tabs

New property StreetViewControl, to show/hide street view control

New event OnMapRightClick

New event OnMarkerClick

New event OnMarkerDoubleClick

Leaflet 1.9.3 support

Include IPPeerClient for geocoding

Map events: OnMapClick, OnMapDoubleClick, OnMapMouseMove,

OnMapMouseOver, OnMapMouseOut, OnMapCenterChange, OnMapZoomChange

Google map API 3.52 support

jQuery 3.6.3 support

-New geocoding and reverse geocoding method through OSM and Google Maps

-Google map API 3.50 support

-Circle and rectangle support

-Fixing small memory leaks

-Microsoft Edge support

-Google map API 3.48 support

-Open Street Map support

-New property for markers: FontColor

-New property for markers: Popup

-support for RAD Studio 11.0 Alexandria

- support for Delphi/C++Builder 10.4 Sydney

- New property for markers: Icon

- New property for markers: Draggable

- New method: SaveMapToHtml

- New method: SaveMapToImage

- Property TextWidth for markers is not used anymore

Additional Information