The full source code for UniGMap 1.4.8 XE2-Delphi 10.2 Tokyo is included in the downloaded package. You can explore the source code to learn more about the component's inner workings and customize it to suit your needs.
procedure TForm1.Button1Click(Sender: TObject); begin UniGMap1.MapType := gmRoadmap; UniGMap1.Zoom := 12; UniGMap1.Center := PointF(37.7749, -122.4194); // San Francisco UniGMap 1.4.8 XE2-Delphi 10.2 Tokyo Full Source
// Add a marker var Marker: TUniGMapMarker; Marker := TUniGMapMarker.Create(UniGMap1); Marker.Latitude := 37.7859; Marker.Longitude := -122.4364; Marker.Title := 'Marker Title'; UniGMap1.AddMarker(Marker); end; This code sets the map type, zoom level, and center coordinates, then adds a marker to the map. The full source code for UniGMap 1
Here's a simple example to get you started: begin UniGMap1.MapType := gmRoadmap